diff options
author | pav <pav@FreeBSD.org> | 2005-05-25 01:09:28 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-05-25 01:09:28 +0800 |
commit | 89a471226c24e7406aee9da0cebf03e40ecfdb61 (patch) | |
tree | 065807dfdf238f2202415a5cf8b7f5edcf91967a /mail/lmtpd | |
parent | 4a90aed8d7b8fd7336ad4feeddb7823ff996597b (diff) | |
download | freebsd-ports-gnome-89a471226c24e7406aee9da0cebf03e40ecfdb61.tar.gz freebsd-ports-gnome-89a471226c24e7406aee9da0cebf03e40ecfdb61.tar.zst freebsd-ports-gnome-89a471226c24e7406aee9da0cebf03e40ecfdb61.zip |
- Properly fix plist problems here. The symlinks are created dynamically
depending on content of share/nls which different between FreeBSD releases.
Also remove empty directories according to present mtree.
Diffstat (limited to 'mail/lmtpd')
-rw-r--r-- | mail/lmtpd/Makefile | 7 | ||||
-rw-r--r-- | mail/lmtpd/pkg-plist | 32 |
2 files changed, 7 insertions, 32 deletions
diff --git a/mail/lmtpd/Makefile b/mail/lmtpd/Makefile index 23862fc30db6..e24efcc67eba 100644 --- a/mail/lmtpd/Makefile +++ b/mail/lmtpd/Makefile @@ -7,6 +7,7 @@ PORTNAME= lmtpd PORTVERSION= 0.9.24 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= ftp://ftp.oav.net/pll/ ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pll @@ -85,5 +86,11 @@ post-install: @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif + ${FIND} ${PREFIX}/share/nls -type d -name 'fr_*8859*' ! -name fr_FR.ISO_8859-1 -exec basename {} \; | ${XARGS} -n1 -I % echo share/nls/%/filtercheck.cat >> ${TMPPLIST} + ${FIND} ${PREFIX}/share/nls -type d -name 'fr_*.UTF-8' ! -name fr_FR.UTF-8 -exec basename {} \; | ${XARGS} -n1 -I % echo share/nls/%/filtercheck.cat >> ${TMPPLIST} + ${FIND} ${PREFIX}/share/nls -type d -name 'en_*' -exec basename {} \; | ${XARGS} -n1 -I % echo share/nls/%/filtercheck.cat >> ${TMPPLIST} + ${FIND} ${PREFIX}/share/nls -type d -name 'fr_*8859*' -exec basename {} \; | ${XARGS} -n1 -I _ -R 2 echo "@unexec if ! grep -q _ ${MTREE_FILE} ; then rmdir %D/share/nls/_ >/dev/null || true ; fi" >> ${TMPPLIST} + ${FIND} ${PREFIX}/share/nls -type d -name 'fr_*.UTF-8' -exec basename {} \; | ${XARGS} -n1 -I _ -R 2 echo "@unexec if ! grep -q _ ${MTREE_FILE} ; then rmdir %D/share/nls/_ >/dev/null || true ; fi" >> ${TMPPLIST} + ${FIND} ${PREFIX}/share/nls -type d -name 'en*' -exec basename {} \; | ${XARGS} -n1 -I _ -R 2 echo "@unexec if ! grep -q _ ${MTREE_FILE} ; then rmdir %D/share/nls/_ >/dev/null || true ; fi" >> ${TMPPLIST} .include <bsd.port.post.mk> diff --git a/mail/lmtpd/pkg-plist b/mail/lmtpd/pkg-plist index a7681e8b7bc9..4ab6d1ca9b93 100644 --- a/mail/lmtpd/pkg-plist +++ b/mail/lmtpd/pkg-plist @@ -4,37 +4,6 @@ bin/lmtpdlogsum etc/lmtpd.conf.dist libexec/lmtpd share/nls/C/filtercheck.cat -share/nls/en_AU.ISO8859-1/filtercheck.cat -share/nls/en_AU.ISO8859-15/filtercheck.cat -share/nls/en_AU.US-ASCII/filtercheck.cat -share/nls/en_AU.UTF-8/filtercheck.cat -share/nls/en_CA.ISO8859-1/filtercheck.cat -share/nls/en_CA.ISO8859-15/filtercheck.cat -share/nls/en_CA.US-ASCII/filtercheck.cat -share/nls/en_CA.UTF-8/filtercheck.cat -share/nls/en_GB.ISO8859-1/filtercheck.cat -share/nls/en_GB.ISO8859-15/filtercheck.cat -share/nls/en_GB.US-ASCII/filtercheck.cat -share/nls/en_GB.UTF-8/filtercheck.cat -share/nls/en_IE.UTF-8/filtercheck.cat -share/nls/en_NZ.ISO8859-1/filtercheck.cat -share/nls/en_NZ.ISO8859-15/filtercheck.cat -share/nls/en_NZ.US-ASCII/filtercheck.cat -share/nls/en_NZ.UTF-8/filtercheck.cat -share/nls/en_US.ISO8859-1/filtercheck.cat -share/nls/en_US.ISO8859-15/filtercheck.cat -share/nls/en_US.UTF-8/filtercheck.cat -share/nls/fr_BE.ISO8859-1/filtercheck.cat -share/nls/fr_BE.ISO8859-15/filtercheck.cat -share/nls/fr_BE.UTF-8/filtercheck.cat -share/nls/fr_CA.ISO8859-1/filtercheck.cat -share/nls/fr_CA.ISO8859-15/filtercheck.cat -share/nls/fr_CA.UTF-8/filtercheck.cat -share/nls/fr_CH.ISO8859-1/filtercheck.cat -share/nls/fr_CH.ISO8859-15/filtercheck.cat -share/nls/fr_CH.UTF-8/filtercheck.cat -share/nls/fr_FR.ISO8859-1/filtercheck.cat -share/nls/fr_FR.ISO8859-15/filtercheck.cat share/nls/fr_FR.ISO_8859-1/filtercheck.cat share/nls/fr_FR.UTF-8/filtercheck.cat %%PORTDOCS%%%%DOCSDIR%%/NEWS @@ -56,6 +25,5 @@ share/nls/fr_FR.UTF-8/filtercheck.cat %%EXAMPLESDIR%%/msg/quotamsg.it.txt %%EXAMPLESDIR%%/msg/virus.en.txt %%EXAMPLESDIR%%/msg/virus.fr.txt -@dirrm share/nls/fr_FR.ISO_8859-1 @dirrm %%EXAMPLESDIR%%/msg @dirrm %%EXAMPLESDIR%% |