aboutsummaryrefslogtreecommitdiff
path: root/graphics/gnofract4d
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:41:30 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:41:30 +0000
commit2730c8a3dcd82845271c9dbb832f982bbacff7ab (patch)
tree1642e533cdc6183365ccba20544974f74946044a /graphics/gnofract4d
parent4e50fe70614b6cbe88ee0c6606cd7336356c42d0 (diff)
downloadports-2730c8a3dcd82845271c9dbb832f982bbacff7ab.tar.gz
ports-2730c8a3dcd82845271c9dbb832f982bbacff7ab.zip
Notes
Diffstat (limited to 'graphics/gnofract4d')
-rw-r--r--graphics/gnofract4d/Makefile11
-rw-r--r--graphics/gnofract4d/pkg-plist2
2 files changed, 7 insertions, 6 deletions
diff --git a/graphics/gnofract4d/Makefile b/graphics/gnofract4d/Makefile
index f6e7456ce5cf..e4f251222a7b 100644
--- a/graphics/gnofract4d/Makefile
+++ b/graphics/gnofract4d/Makefile
@@ -13,6 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_NEWGCC= yes
USE_GNOME= yes
@@ -22,11 +23,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS= --enable-compile-warnings=no
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "*Makefile*" | xargs ${PERL} -pi.dist -e \
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "*Makefile*" | ${XARGS} ${REINPLACE_CMD} -e \
's|-g -O2 -Wall -D_REENTRANT|\@CXXFLAGS\@|g ; \
- s|datadir\)/gnome|datadir\)|g ; \
- s|datadir\)/locale|prefix\)/share/locale|g ; \
- s|gnofract4d_helpdir\)/images|gnofract4d_helpdir\)|g'
+ s|datadir)/gnome|datadir)|g ; \
+ s|datadir)/locale|prefix)/share/locale|g ; \
+ s|gnofract4d_helpdir)/images|gnofract4d_helpdir)|g'
.include <bsd.port.mk>
diff --git a/graphics/gnofract4d/pkg-plist b/graphics/gnofract4d/pkg-plist
index b7aea77c4301..0db0e9b31d08 100644
--- a/graphics/gnofract4d/pkg-plist
+++ b/graphics/gnofract4d/pkg-plist
@@ -112,6 +112,6 @@ share/locale/fr/LC_MESSAGES/gnofract4d.mo
@dirrm share/gnome/pixmaps/gnofract4d
@dirrm share/gnome/maps/gnofract4d
@dirrm share/gnome/maps
-@dirrm share/gnome/help/gnofract4d/C/stylesheet-image
+@dirrm share/gnome/help/gnofract4d/C/stylesheet-images
@dirrm share/gnome/help/gnofract4d/C
@dirrm share/gnome/help/gnofract4d