svn commit: r353181 - head/games/amoebax
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed May 7 17:27:00 UTC 2014
Author: amdmi3
Date: Wed May 7 17:27:00 2014
New Revision: 353181
URL: http://svnweb.freebsd.org/changeset/ports/353181
QAT: https://qat.redports.org/buildarchive/r353181/
Log:
- Convert USE_BZIP2 to USES
- Add OPTIONS
- Simplify
Modified:
head/games/amoebax/Makefile
Modified: head/games/amoebax/Makefile
==============================================================================
--- head/games/amoebax/Makefile Wed May 7 17:18:37 2014 (r353180)
+++ head/games/amoebax/Makefile Wed May 7 17:27:00 2014 (r353181)
@@ -17,21 +17,16 @@ LICENSE_NAME_FAL= Free Art License, vers
LICENSE_FILE_FAL= ${WRKSRC}/COPYING.LAL
LICENSE_PERMS_FAL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-USE_BZIP2= yes
+USES= tar:bzip2 gmake
GNU_CONFIGURE= yes
-USES= gmake
USE_SDL= sdl mixer image
PORTDOCS= *
-post-patch:
- @${REINPLACE_CMD} -e '/^SUBDIRS =/s|doc||' ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's|datarootdir|datadir|' ${WRKSRC}/data/Makefile.in
- @${FIND} ${WRKSRC}/ -name Makefile.in|${XARGS}\
- ${REINPLACE_CMD} -e '/^pkgdatadir =/s|=.*|= ${DATADIR}|'
+OPTIONS_DEFINE= DOCS
-post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${STAGEDIR}${DOCSDIR}
+post-patch:
+ @${REINPLACE_CMD} -e 's|datarootdir|datadir|' \
+ ${WRKSRC}/data/Makefile.in ${WRKSRC}/doc/Makefile.in
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list