diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-08-28 07:28:07 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-08-28 07:28:07 +0000 |
commit | d868a9e28a01ddf73e23959a39ac90a8039bf641 (patch) | |
tree | 66fc59ddd671fb368ebe384af8127aae1d17d1e1 /games/teg/Makefile | |
parent | Add xsu, a GNOME 1 tool to run commands as root. (diff) |
Update to 0.9.4.
Notes
Notes:
svn path=/head/; revision=65156
Diffstat (limited to 'games/teg/Makefile')
-rw-r--r-- | games/teg/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/games/teg/Makefile b/games/teg/Makefile index ccae29426844..63c4de788e8d 100644 --- a/games/teg/Makefile +++ b/games/teg/Makefile @@ -6,7 +6,7 @@ # PORTNAME= teg -PORTVERSION= 0.9.2 +PORTVERSION= 0.9.4 CATEGORIES= games gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,18 +15,16 @@ MAINTAINER= sobomax@FreeBSD.org USE_X_PREFIX= yes USE_GMAKE= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack gnomelibs GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -lintl" -pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ +post-patch: + @${REINPLACE_CMD} -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' - @find ${WRKSRC} -name "*.[ch]" -type f | xargs ${PERL} -pi -e \ + @find ${WRKSRC} -name "*.[ch]" -type f | xargs ${REINPLACE_CMD} -e \ 's|LIST_NEXT|TEG_LIST_NEXT|g' .include <bsd.port.mk> |