summaryrefslogtreecommitdiff
path: root/games/gnomermind/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-04-11 12:56:17 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-04-11 12:56:17 +0000
commitd3159b32fd7043af01616573f919b8465d6b56a4 (patch)
treedd141cec1b4e6e2a797e78cc3f535bc2076dd12d /games/gnomermind/Makefile
parentAdd http://prdownloads.sourceforge.net/ into MASTER_SITE_SOURCEFORGE. (diff)
Add gnomermind 0.9.1, a puzzle game for Gnome, loosely based on the
classic MasterMind game.
Notes
Notes: svn path=/head/; revision=41284
Diffstat (limited to 'games/gnomermind/Makefile')
-rw-r--r--games/gnomermind/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/games/gnomermind/Makefile b/games/gnomermind/Makefile
new file mode 100644
index 000000000000..23bc28f14123
--- /dev/null
+++ b/games/gnomermind/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: gnomermind
+# Date created: 11 April 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnomermind
+PORTVERSION= 0.9.1
+CATEGORIES= games gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= sobomax@FreeBSD.org
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GNOME= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-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>