diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-10-06 09:09:37 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-10-06 09:09:37 +0000 |
commit | 8403fb097f9643fa8b94cbbad3e073afcd5096e4 (patch) | |
tree | 5da7b2e2629f5736d9ef742eb031f839bf4e00f1 /games/gniffel/Makefile | |
parent | ebed4334269ae2209f43ecb8886cf71b990c1c18 (diff) | |
download | FreeBSD-ports-8403fb097f9643fa8b94cbbad3e073afcd5096e4.zip FreeBSD-ports-8403fb097f9643fa8b94cbbad3e073afcd5096e4.tar.gz |
Add gniffel - a clone of the famous Yatzi game, also known as Kniffel, for
GNOME.
Diffstat (limited to 'games/gniffel/Makefile')
-rw-r--r-- | games/gniffel/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/games/gniffel/Makefile b/games/gniffel/Makefile new file mode 100644 index 0000000..cb49643 --- /dev/null +++ b/games/gniffel/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: gniffel +# Date created: 6 October 2000 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gniffel +PORTVERSION= 0.1 +CATEGORIES= games gnome +MASTER_SITES= http://www.informatik.fh-wiesbaden.de/~i820/downloads/ + +MAINTAINER= sobomax@FreeBSD.org + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GNOME= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-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> |