aboutsummaryrefslogtreecommitdiff
path: root/games/amoebax
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-08-03 17:35:50 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-08-03 17:35:50 +0000
commit6a55fe0d5ed8050f8d6539127263ada268b8278f (patch)
tree0a02eb066378e17b9c03e60fca3a6cdd0d7a792e /games/amoebax
parent3e87e43293fb5de3ca6caaf2679cc958448ca172 (diff)
downloadports-6a55fe0d5ed8050f8d6539127263ada268b8278f.tar.gz
ports-6a55fe0d5ed8050f8d6539127263ada268b8278f.zip
Notes
Diffstat (limited to 'games/amoebax')
-rw-r--r--games/amoebax/Makefile12
-rw-r--r--games/amoebax/distinfo6
2 files changed, 13 insertions, 5 deletions
diff --git a/games/amoebax/Makefile b/games/amoebax/Makefile
index b747c12afe46..0915219d7fe4 100644
--- a/games/amoebax/Makefile
+++ b/games/amoebax/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= amoebax
-PORTVERSION= 0.2.0
-PORTREVISION= 1
+PORTVERSION= 0.2.1
CATEGORIES= games
MASTER_SITES= http://www.emma-soft.com/games/amoebax/download/ \
http://www.amdmi3.ru/distfiles/
@@ -22,9 +21,18 @@ USE_SDL= sdl mixer image
MAN6= amoebax.6
+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}|'
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/manual.pdf ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/games/amoebax/distinfo b/games/amoebax/distinfo
index 245262b8ddaf..1c59c4d575d8 100644
--- a/games/amoebax/distinfo
+++ b/games/amoebax/distinfo
@@ -1,3 +1,3 @@
-MD5 (amoebax-0.2.0.tar.bz2) = 1fecc5e4c8c4151b39f84baa5a18897b
-SHA256 (amoebax-0.2.0.tar.bz2) = 77c9da7b424432c55d76a74b62bf01ccba3120200bb89fd5815993c001c7eaae
-SIZE (amoebax-0.2.0.tar.bz2) = 10565913
+MD5 (amoebax-0.2.1.tar.bz2) = f144e4a42f4443e6c105976c4c036c50
+SHA256 (amoebax-0.2.1.tar.bz2) = 4adf497f948c8999d1b970c0d888d59c5cecdb4af42993302baa0e0c3e72a621
+SIZE (amoebax-0.2.1.tar.bz2) = 10599705