aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-12-22 21:48:05 +0800
committerkevlo <kevlo@FreeBSD.org>2001-12-22 21:48:05 +0800
commit00740f199779637d63ccf93ffa54727dbf065278 (patch)
tree274c14ba3c2c5d4958c593bd00a260ecb51389ce /graphics
parent03953b6c01f44a42ca64a78d3a894302b0251715 (diff)
downloadfreebsd-ports-gnome-00740f199779637d63ccf93ffa54727dbf065278.tar.gz
freebsd-ports-gnome-00740f199779637d63ccf93ffa54727dbf065278.tar.zst
freebsd-ports-gnome-00740f199779637d63ccf93ffa54727dbf065278.zip
Avoid making empty directory
PR: 32950 Submitted by: Ports Fury
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gnofract4d/Makefile7
-rw-r--r--graphics/gnofract4d/pkg-plist1
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/gnofract4d/Makefile b/graphics/gnofract4d/Makefile
index 55247c1dcd2d..f6e7456ce5cf 100644
--- a/graphics/gnofract4d/Makefile
+++ b/graphics/gnofract4d/Makefile
@@ -23,9 +23,10 @@ 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 -e \
+ @find ${WRKSRC} -name "*Makefile*" | xargs ${PERL} -pi.dist -e \
's|-g -O2 -Wall -D_REENTRANT|\@CXXFLAGS\@|g ; \
- s|\$$\(datadir\)/gnome|\$$\(datadir\)|g ; \
- s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|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 5f66ec7b6771..b7aea77c4301 100644
--- a/graphics/gnofract4d/pkg-plist
+++ b/graphics/gnofract4d/pkg-plist
@@ -113,6 +113,5 @@ share/locale/fr/LC_MESSAGES/gnofract4d.mo
@dirrm share/gnome/maps/gnofract4d
@dirrm share/gnome/maps
@dirrm share/gnome/help/gnofract4d/C/stylesheet-image
-@dirrm share/gnome/help/gnofract4d/C/images
@dirrm share/gnome/help/gnofract4d/C
@dirrm share/gnome/help/gnofract4d