summaryrefslogtreecommitdiffstats
path: root/games/gnomegames2/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-13 12:10:20 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-13 12:10:20 +0800
commitce2c924ca61bc087b39deaa33cb912ec593e143f (patch)
tree2908270d78e95be5150ef81a6c934bf28601b724 /games/gnomegames2/Makefile
parent6b9933f5f8d7785a088e1d1138a81a41939879b5 (diff)
downloadmarcuscom-ports-ce2c924ca61bc087b39deaa33cb912ec593e143f.tar
marcuscom-ports-ce2c924ca61bc087b39deaa33cb912ec593e143f.tar.gz
marcuscom-ports-ce2c924ca61bc087b39deaa33cb912ec593e143f.tar.bz2
marcuscom-ports-ce2c924ca61bc087b39deaa33cb912ec593e143f.tar.lz
marcuscom-ports-ce2c924ca61bc087b39deaa33cb912ec593e143f.tar.xz
marcuscom-ports-ce2c924ca61bc087b39deaa33cb912ec593e143f.tar.zst
marcuscom-ports-ce2c924ca61bc087b39deaa33cb912ec593e143f.zip
Add gnomegames2-2.3.x.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@619 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gnomegames2/Makefile')
-rw-r--r--games/gnomegames2/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/games/gnomegames2/Makefile b/games/gnomegames2/Makefile
new file mode 100644
index 000000000..c0a686f86
--- /dev/null
+++ b/games/gnomegames2/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: gnomegames2
+# Date created: 08 May 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/games/gnomegames2/Makefile,v 1.61 2003/04/04 07:53:17 marcus Exp $
+#
+
+PORTNAME= gnomegames2
+PORTVERSION= 2.3.0
+CATEGORIES= games gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/gnome-games/2.3
+DISTNAME= gnome-games-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= The game applications package for the Gnome 2.0 Desktop Environment
+
+LIB_DEPENDS= guile.10:${PORTSDIR}/lang/guile
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier libgnomeui
+USE_LIBTOOL= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \
+ 's|malloc\.h|stdlib.h|g'
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|games\.games|games:games|g'
+
+.include <bsd.port.mk>