summaryrefslogtreecommitdiff
path: root/games/atomix/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-11-01 13:09:00 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-11-01 13:09:00 +0000
commit0dec587e0dc2e2bdc1d941b141ce51d77c5c7bf3 (patch)
tree346da26ca56a0193520eb4443d8b0e7f78ef7f92 /games/atomix/Makefile
parentNew Port: coms/vpb2 (diff)
Update to 0.4.0.
Notes
Notes: svn path=/head/; revision=34543
Diffstat (limited to 'games/atomix/Makefile')
-rw-r--r--games/atomix/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/games/atomix/Makefile b/games/atomix/Makefile
index 4466990e6d2a..18d3abb7651b 100644
--- a/games/atomix/Makefile
+++ b/games/atomix/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= atomix
-PORTVERSION= 0.2.0.1
+PORTVERSION= 0.4.0
CATEGORIES= games gnome
MASTER_SITES= http://www.informatik.uni-oldenburg.de/~pearl/download/
-DISTNAME= atomix-0.2.0-1
MAINTAINER= nakai@FreeBSD.org
@@ -19,4 +18,11 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
.include <bsd.port.mk>