2000-01-02 15:23:42 +01:00
|
|
|
# New ports collection makefile for: gno3dtet
|
|
|
|
# Date created: 21 Dec 1999
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 08:43:02 +02:00
|
|
|
PORTNAME= gno3dtet
|
2001-10-06 17:15:18 +02:00
|
|
|
PORTVERSION= 1.6.4
|
2000-06-01 18:25:45 +02:00
|
|
|
CATEGORIES= games gnome
|
2002-03-29 01:52:18 +01:00
|
|
|
MASTER_SITES= http://12.252.66.56/ftp/gno3dtet/ \
|
|
|
|
ftp://12.252.66.56/pub/gno3dtet/
|
2000-01-02 15:23:42 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2001-01-09 01:06:25 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2000-01-02 15:23:42 +01:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 09:10:50 +02:00
|
|
|
USE_GNOME= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
pre-patch:
|
2001-03-29 18:35:19 +02:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-10-05 09:10:50 +02:00
|
|
|
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'
|
2000-01-02 15:23:42 +01:00
|
|
|
|
2000-09-09 13:03:36 +02:00
|
|
|
post-install:
|
|
|
|
${CHOWN} root:games ${PREFIX}/bin/gno3dtet
|
|
|
|
${CHMOD} 2555 ${PREFIX}/bin/gno3dtet
|
2000-10-05 09:10:50 +02:00
|
|
|
${CHOWN} root:games ${PREFIX}/share/gnome/games/gno3dtet.hof
|
|
|
|
${CHMOD} 664 ${PREFIX}/share/gnome/games/gno3dtet.hof
|
2000-09-09 13:03:36 +02:00
|
|
|
|
2000-01-02 15:23:42 +01:00
|
|
|
.include <bsd.port.mk>
|