diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-09-11 14:05:00 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-09-11 14:05:00 +0000 |
commit | 41dbfd2d1fe937e51d9376ca9b6ab053d24b9517 (patch) | |
tree | 88f2e83be9cf604ab31b9f15bd6424107e492531 /games/gnomoku/Makefile | |
parent | cb632d7a549620b4b2e106098c33250fbdbd3f8a (diff) | |
download | FreeBSD-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/Makefile | 32 |
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> |