From f74d9c05c4670d1f13b1e83a6a2f693c6c8a3b21 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sat, 8 Feb 2014 13:30:37 +0000 Subject: [PATCH] - Unbreak after implicit lang/python dependency removal - While, stage support and use OPTIONS helpers Reported by: pkg-fallout --- games/liquidwar/Makefile | 18 ++++++------------ games/liquidwar/pkg-plist | 3 +++ 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/games/liquidwar/Makefile b/games/liquidwar/Makefile index e32ff764b8e5..41f20b4fae69 100644 --- a/games/liquidwar/Makefile +++ b/games/liquidwar/Makefile @@ -13,27 +13,21 @@ MASTER_SITE_SUBDIR= liquidwar MAINTAINER= edwin@mavetju.org COMMENT= You control an army of liquid and have to try and eat your opponents -LIB_DEPENDS= alleg.4:${PORTSDIR}/devel/allegro +LIB_DEPENDS= liballeg.so:${PORTSDIR}/devel/allegro GNU_CONFIGURE= yes -USE_GMAKE= yes +USES= gmake CONFIGURE_ARGS= --disable-target-opt --disable-doc-ps --disable-doc-pdf +CONFIGURE_ENV= ac_cv_prog_PYTHON=yes USE_PYTHON_BUILD=yes INFO= liquidwar -MANCOMPRESSED= yes -MAN6= liquidwar.6 \ - liquidwar-server.6 \ - liquidwar-mapgen.6 - OPTIONS_DEFINE= ASM -NO_STAGE= yes -.include +ASM_CONFIGURE_OFF= --disable-asm -.if ! ${PORT_OPTIONS:MASM} -CONFIGURE_ARGS+= --disable-asm -.endif +post-patch: + @${REINPLACE_CMD} 's,python,${PYTHON_CMD},' ${WRKSRC}/doc/Makefile.in .include diff --git a/games/liquidwar/pkg-plist b/games/liquidwar/pkg-plist index 8e7e64e8dd69..6c59a23f5f8b 100644 --- a/games/liquidwar/pkg-plist +++ b/games/liquidwar/pkg-plist @@ -1,6 +1,9 @@ bin/liquidwar bin/liquidwar-server bin/liquidwar-mapgen +man/man6/liquidwar-mapgen.6.gz +man/man6/liquidwar-server.6.gz +man/man6/liquidwar.6.gz %%DOCSDIR%%/txt/algorithm.txt %%DOCSDIR%%/txt/authors.txt %%DOCSDIR%%/txt/bugs.txt