aboutsummaryrefslogtreecommitdiff
path: root/security/gringotts
diff options
context:
space:
mode:
Diffstat (limited to 'security/gringotts')
-rw-r--r--security/gringotts/Makefile3
-rw-r--r--security/gringotts/pkg-plist21
2 files changed, 13 insertions, 11 deletions
diff --git a/security/gringotts/Makefile b/security/gringotts/Makefile
index 8e02f9ad8122..a9ae89b7784a 100644
--- a/security/gringotts/Makefile
+++ b/security/gringotts/Makefile
@@ -37,7 +37,8 @@ PLIST_SUB+= GNOMEHIER='@comment '
.endif
post-patch:
- ${REINPLACE_CMD} -E -e "s|^(gringottsdocdir =).*|\1 $$\(datadir\)/doc/gringotts|;s|md5sum|md5|g" ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -E -e "s|^(gringottsdocdir =).*|\1 ${DOCSDIR}|;s|md5sum|md5|g" ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -E -e "s|^(pixmapdir =).*|\1 ${PREFIX}/share/gnome/pixmaps|" ${WRKSRC}/pixmaps/Makefile.in
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-D.*_DISABLE_DEPRECATED||g'
.if defined(NOPORTDOCS)
diff --git a/security/gringotts/pkg-plist b/security/gringotts/pkg-plist
index 3adfa8654161..eeabc1a4f422 100644
--- a/security/gringotts/pkg-plist
+++ b/security/gringotts/pkg-plist
@@ -1,16 +1,17 @@
bin/gringotts
-share/pixmaps/gringotts.xpm
+share/gnome/pixmaps/gringotts.xpm
share/locale/de/LC_MESSAGES/gringotts.mo
share/locale/fr/LC_MESSAGES/gringotts.mo
share/locale/it/LC_MESSAGES/gringotts.mo
%%GNOMEHIER%%share/gnome/apps/Utilities/gringotts.desktop
%%GNOMEHIER%%@unexec rmdir -p %D/share/gnome/apps/Utilities 2>/dev/null || true
-%%PORTDOCS%%share/doc/gringotts/AUTHORS
-%%PORTDOCS%%share/doc/gringotts/BUGS
-%%PORTDOCS%%share/doc/gringotts/COPYING
-%%PORTDOCS%%share/doc/gringotts/ChangeLog
-%%PORTDOCS%%share/doc/gringotts/FAQ
-%%PORTDOCS%%share/doc/gringotts/NEWS
-%%PORTDOCS%%share/doc/gringotts/README
-%%PORTDOCS%%share/doc/gringotts/TODO
-%%PORTDOCS%%@dirrm share/doc/gringotts
+@unexec rmdir %D/share/pixmaps 2>/dev/null || true
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/BUGS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%