summaryrefslogtreecommitdiffstats
path: root/games/gnomoku/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-09-11 14:05:00 +0000
committersobomax <sobomax@FreeBSD.org>2001-09-11 14:05:00 +0000
commit41dbfd2d1fe937e51d9376ca9b6ab053d24b9517 (patch)
tree88f2e83be9cf604ab31b9f15bd6424107e492531 /games/gnomoku/Makefile
parentcb632d7a549620b4b2e106098c33250fbdbd3f8a (diff)
downloadFreeBSD-ports-41dbfd2d1fe937e51d9376ca9b6ab053d24b9517.zip
FreeBSD-ports-41dbfd2d1fe937e51d9376ca9b6ab053d24b9517.tar.gz
Add gnomoku 1.2, a Gomoku game for GNOME Desktop.
Diffstat (limited to 'games/gnomoku/Makefile')
-rw-r--r--games/gnomoku/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/games/gnomoku/Makefile b/games/gnomoku/Makefile
new file mode 100644
index 0000000..c79a343
--- /dev/null
+++ b/games/gnomoku/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: gnomoku
+# Date created: 21 May 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnomoku
+PORTVERSION= 1.2
+CATEGORIES= games gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= stable/sources/${PORTNAME}
+
+MAINTAINER= gnome@FreeBSD.org
+
+LIB_DEPENDS= gnomemm.9:${PORTSDIR}/x11-toolkits/gnome--
+
+USE_X_PREFIX= yes
+#USE_GMAKE= yes
+USE_GNOME= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-fpermissive -I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|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>
OpenPOWER on IntegriCloud