aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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%%