aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/sagasu
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-01-12 07:11:54 +0800
committermezz <mezz@FreeBSD.org>2005-01-12 07:11:54 +0800
commitd43155b40480b95676fe7a67ddf2bd2c89089356 (patch)
treef87e68727fe6426a52cff588a088b0c3b0f466b0 /textproc/sagasu
parente7c7062424d30a06271326f539a950ea840e0f54 (diff)
downloadfreebsd-ports-gnome-d43155b40480b95676fe7a67ddf2bd2c89089356.tar.gz
freebsd-ports-gnome-d43155b40480b95676fe7a67ddf2bd2c89089356.tar.zst
freebsd-ports-gnome-d43155b40480b95676fe7a67ddf2bd2c89089356.zip
Install doc in the correct place, this should fix the pkg-plist.
Reported by: pointyhat via kris
Diffstat (limited to 'textproc/sagasu')
-rw-r--r--textproc/sagasu/Makefile6
-rw-r--r--textproc/sagasu/pkg-plist18
2 files changed, 13 insertions, 11 deletions
diff --git a/textproc/sagasu/Makefile b/textproc/sagasu/Makefile
index 84bbfc87d2ac..aa8026226fb4 100644
--- a/textproc/sagasu/Makefile
+++ b/textproc/sagasu/Makefile
@@ -6,7 +6,7 @@
PORTNAME= sagasu
PORTVERSION= 2.0.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc gnome
MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/ \
http://demian.dyndns.org/src/
@@ -24,6 +24,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= sagasu.1
-PLIST_SUB= PORTVERSION=${PORTVERSION}
+post-patch:
+ @${REINPLACE_CMD} -e 's|[(]datadir[)]/doc/$$(PACKAGE)-$$(VERSION)|(prefix)/share/doc/$$(PACKAGE)|g' \
+ ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff --git a/textproc/sagasu/pkg-plist b/textproc/sagasu/pkg-plist
index 8edcab2fe286..fafaca140d75 100644
--- a/textproc/sagasu/pkg-plist
+++ b/textproc/sagasu/pkg-plist
@@ -1,12 +1,12 @@
bin/sagasu
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/COPYING
+%%DOCSDIR%%/INSTALL
+%%DOCSDIR%%/NEWS
+%%DOCSDIR%%/README
+%%DOCSDIR%%/THANKS
+%%DOCSDIR%%/TODO
share/gnome/applications/sagasu.desktop
-share/gnome/doc/sagasu-%%PORTVERSION%%/AUTHORS
-share/gnome/doc/sagasu-%%PORTVERSION%%/COPYING
-share/gnome/doc/sagasu-%%PORTVERSION%%/INSTALL
-share/gnome/doc/sagasu-%%PORTVERSION%%/NEWS
-share/gnome/doc/sagasu-%%PORTVERSION%%/README
-share/gnome/doc/sagasu-%%PORTVERSION%%/THANKS
-share/gnome/doc/sagasu-%%PORTVERSION%%/TODO
share/gnome/help/sagasu/C/sagasu.html
share/gnome/help/sagasu/fr/sagasu.html
share/gnome/pixmaps/close.xpm
@@ -16,11 +16,11 @@ share/gnome/sagasu/sagasu-helper.pl
share/gnome/sounds/sagasu/sagasu.wav
share/locale/fr/LC_MESSAGES/sagasu.mo
share/locale/ja/LC_MESSAGES/sagasu.mo
-share/locale/sr/LC_MESSAGES/sagasu.mo
share/locale/ru/LC_MESSAGES/sagasu.mo
+share/locale/sr/LC_MESSAGES/sagasu.mo
@dirrm share/gnome/sounds/sagasu
@dirrm share/gnome/sagasu
@dirrm share/gnome/help/sagasu/fr
@dirrm share/gnome/help/sagasu/C
@dirrm share/gnome/help/sagasu
-@dirrm share/gnome/doc/sagasu-%%PORTVERSION%%
+@dirrm %%DOCSDIR%%