aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-17 07:06:14 +0800
committerbapt <bapt@FreeBSD.org>2014-07-17 07:06:14 +0800
commitf0fb49dad5b07993407dbb5052efd933b1c61ba3 (patch)
tree0cbbd2e9958b44ddaa205ee410689f7c6efd67b7 /security
parent6929996ad635d30544c705bfdd3b757560b39992 (diff)
downloadfreebsd-ports-gnome-f0fb49dad5b07993407dbb5052efd933b1c61ba3.tar.gz
freebsd-ports-gnome-f0fb49dad5b07993407dbb5052efd933b1c61ba3.tar.zst
freebsd-ports-gnome-f0fb49dad5b07993407dbb5052efd933b1c61ba3.zip
Fix plist mess (NLS handling was wrong)
Do not pollute ${PREFIX}/lib with a useless empty pkgconfig directory Do not remove directories owned by the mtree
Diffstat (limited to 'security')
-rw-r--r--security/gnomint/Makefile5
-rw-r--r--security/gnomint/pkg-plist52
2 files changed, 16 insertions, 41 deletions
diff --git a/security/gnomint/Makefile b/security/gnomint/Makefile
index c11adc707f56..76a12cc403ad 100644
--- a/security/gnomint/Makefile
+++ b/security/gnomint/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gnomint
PORTVERSION= 1.2.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= security
MASTER_SITES= SF
@@ -31,4 +31,7 @@ OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
+post-install:
+ ${RMDIR} ${STAGEDIR}${PREFIX}/lib/pkgconfig
+
.include <bsd.port.mk>
diff --git a/security/gnomint/pkg-plist b/security/gnomint/pkg-plist
index d279c7b517f3..6673a2258467 100644
--- a/security/gnomint/pkg-plist
+++ b/security/gnomint/pkg-plist
@@ -34,43 +34,15 @@ share/mime/packages/gnomint.xml
@dirrmtry share/mime/packages
@dirrmtry share/mime
etc/gconf/schemas/gnomint.schemas
-@dirrmtry lib/pkgconfig
-%%NLS%%lib/locale/ca/LC_MESSAGES/gnomint.mo
-%%NLS%%@dirrmtry lib/locale/ca/LC_MESSAGES
-%%NLS%%@dirrmtry lib/locale/ca
-%%NLS%%lib/locale/cs/LC_MESSAGES/gnomint.mo
-%%NLS%%@dirrmtry lib/locale/cs/LC_MESSAGES
-%%NLS%%@dirrmtry lib/locale/cs
-%%NLS%%lib/locale/de/LC_MESSAGES/gnomint.mo
-%%NLS%%@dirrmtry lib/locale/de/LC_MESSAGES
-%%NLS%%@dirrmtry lib/locale/de
-%%NLS%%lib/locale/es/LC_MESSAGES/gnomint.mo
-%%NLS%%@dirrmtry lib/locale/es/LC_MESSAGES
-%%NLS%%@dirrmtry lib/locale/es
-%%NLS%%lib/locale/fi/LC_MESSAGES/gnomint.mo
-%%NLS%%@dirrmtry lib/locale/fi/LC_MESSAGES
-%%NLS%%@dirrmtry lib/locale/fi
-%%NLS%%lib/locale/fr/LC_MESSAGES/gnomint.mo
-%%NLS%%@dirrmtry lib/locale/fr/LC_MESSAGES
-%%NLS%%@dirrmtry lib/locale/fr
-%%NLS%%lib/locale/it/LC_MESSAGES/gnomint.mo
-%%NLS%%@dirrmtry lib/locale/it/LC_MESSAGES
-%%NLS%%@dirrmtry lib/locale/it
-%%NLS%%lib/locale/pt_BR/LC_MESSAGES/gnomint.mo
-%%NLS%%@dirrmtry lib/locale/pt_BR/LC_MESSAGES
-%%NLS%%@dirrmtry lib/locale/pt_BR
-%%NLS%%lib/locale/oc/LC_MESSAGES/gnomint.mo
-%%NLS%%@dirrmtry lib/locale/oc/LC_MESSAGES
-%%NLS%%@dirrmtry lib/locale/oc
-%%NLS%%lib/locale/ru/LC_MESSAGES/gnomint.mo
-%%NLS%%@dirrmtry lib/locale/ru/LC_MESSAGES
-%%NLS%%@dirrmtry lib/locale/ru
-%%NLS%%lib/locale/sk/LC_MESSAGES/gnomint.mo
-%%NLS%%@dirrmtry lib/locale/sk/LC_MESSAGES
-%%NLS%%@dirrmtry lib/locale/sk
-%%NLS%%lib/locale/sv/LC_MESSAGES/gnomint.mo
-%%NLS%%@dirrmtry lib/locale/sv/LC_MESSAGES
-%%NLS%%@dirrmtry lib/locale/sv
-%%NLS%%@dirrmtry lib/locale
-@dirrmtry etc/gconf/schemas
-@dirrmtry etc/gconf
+%%NLS%%share/locale/ca/LC_MESSAGES/gnomint.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/gnomint.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gnomint.mo
+%%NLS%%share/locale/es/LC_MESSAGES/gnomint.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/gnomint.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gnomint.mo
+%%NLS%%share/locale/it/LC_MESSAGES/gnomint.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gnomint.mo
+%%NLS%%share/locale/oc/LC_MESSAGES/gnomint.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/gnomint.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/gnomint.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gnomint.mo