Skip to content

Commit

Permalink
games/heroes: Remove USES=makeinfo
Browse files Browse the repository at this point in the history
- Distfile ships with info files so no need to regenerate those
- Utilize USES=localbase where possible
- Pet portclippy
  • Loading branch information
5u623l20 committed Oct 21, 2023
1 parent e224d70 commit 7c1b5cd
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions games/heroes/Makefile
Expand Up @@ -20,14 +20,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING

LIB_DEPENDS= libsmpeg.so:multimedia/smpeg

USES= gettext gmake iconv makeinfo sdl
USES= gettext gmake iconv localbase:ldflags sdl
USE_SDL= mixer sdl

GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-sdl_mixer=${LOCALBASE} --without-gii --without-ggi
CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split"

CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -lpthread -L${LOCALBASE}/lib -lsmpeg -lm
LDFLAGS+= -lpthread -lsmpeg -lm

INFO= heroes

Expand All @@ -52,7 +51,6 @@ post-patch:
${FIND} $${dir} -name "Makefile*" -delete; \
done
@${RM} ${WRKSRC}/lib/getopt.h
@${RM} ${WRKSRC}/doc/*.info*

post-install:
.for dir in levels pics tilesets
Expand Down

0 comments on commit 7c1b5cd

Please sign in to comment.