diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-24 17:09:28 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-24 17:09:28 +0000 |
commit | dcb05bb64cdb4f03d97b9a83ceaba389a60e3236 (patch) | |
tree | 80b317b2fb6f60de852ff712dcd5a631e0b3f7de /mail/lmtpd | |
parent | - Resurrect mistakenly removed needed patch file (diff) |
- 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.
Notes
Notes:
svn path=/head/; revision=136047
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%% |