aboutsummaryrefslogtreecommitdiff
path: root/games/teg
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2003-09-21 02:09:28 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2003-09-21 02:09:28 +0000
commit1f65bc1d62e300aa75eeaca40ba12cc06ec3b246 (patch)
treee60cdf3964d927f9267e581d302d2da174f27c58 /games/teg
parent160fa39680623584405f17ea537afadb6f6837ad (diff)
downloadports-1f65bc1d62e300aa75eeaca40ba12cc06ec3b246.tar.gz
ports-1f65bc1d62e300aa75eeaca40ba12cc06ec3b246.zip
- Fix build converting port to use bsd.gnome.mk
- Add explicit USE_REINPLACE Reported by: kris
Notes
Notes: svn path=/head/; revision=89086
Diffstat (limited to 'games/teg')
-rw-r--r--games/teg/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/games/teg/Makefile b/games/teg/Makefile
index 6ddacf25986d..176afabddd37 100644
--- a/games/teg/Makefile
+++ b/games/teg/Makefile
@@ -14,19 +14,16 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A turn-based strategy game for GNOME
-LIB_DEPENDS= gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui
-
USE_BZIP2= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
-USE_GNOME= gnomeprefix gnomehack
+USE_GNOME= gnomeprefix gnomehack libgnomeui
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib -lintl ${PTHREAD_LIBS}"
post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "*.[ch]" -type f | xargs ${REINPLACE_CMD} -e \
's|LIST_NEXT|TEG_LIST_NEXT|g'