aboutsummaryrefslogtreecommitdiff
path: root/games/openalchemist
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2012-06-15 09:56:13 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2012-06-15 09:56:13 +0000
commit6b45d74427350b307d125a65300dd7c6429e7c20 (patch)
tree23b23ac3373140072142b0daf643f4d5de85c1c6 /games/openalchemist
parent11be97e555ca541e44ad4422fc5323fbf547332e (diff)
downloadports-6b45d74427350b307d125a65300dd7c6429e7c20.tar.gz
ports-6b45d74427350b307d125a65300dd7c6429e7c20.zip
Notes
Diffstat (limited to 'games/openalchemist')
-rw-r--r--games/openalchemist/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/games/openalchemist/Makefile b/games/openalchemist/Makefile
index 3ea2e38a840f..bc1174d1749b 100644
--- a/games/openalchemist/Makefile
+++ b/games/openalchemist/Makefile
@@ -7,7 +7,7 @@
PORTNAME= openalchemist
PORTVERSION= 0.3
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -22,8 +22,8 @@ LICENSE_FILE_CCbySA= ${WRKSRC}/GRAPHICS-LICENSE
LICENSE_PERMS_CCbySA= ${_LICENSE_PERMS_DEFAULT}
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
-LIB_DEPENDS= clanCore-0.8:${PORTSDIR}/devel/clanlib \
- jpeg.11:${PORTSDIR}/graphics/jpeg \
+LIB_DEPENDS= clanCore:${PORTSDIR}/devel/clanlib \
+ jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png
USE_AUTOTOOLS= aclocal automake autoconf
@@ -40,16 +40,18 @@ USE_ICONV= yes
PORTDOCS= AUTHORS ChangeLog README TODO
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -E -e 's|^%|#|g' ${WRKSRC}/configure.ac
@${REINPLACE_CMD} -E -e 's|^dist_pkgdata_DATA =.*|dist_pkgdata_DATA = data/* skins/aqua.zip skins/brushed.zip skins/vectoriel.zip|g' ${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -E -e 's|^#!/usr/bin/python|#!${LOCALBASE}/bin/python|g' ${WRKSRC}/openalchemist-config
-.if !defined(NOPORTDOCS)
post-install:
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif