aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-10-18 14:47:25 +0800
committermarino <marino@FreeBSD.org>2014-10-18 14:47:25 +0800
commitb7dc436d595d7f42bbb7fcc77f5c2941124d5299 (patch)
treeea5d8b70e2558390b2621949adaa62f96fb3d038
parent15730856d88fef69fb493824e053893e2907d388 (diff)
downloadfreebsd-ports-gnome-b7dc436d595d7f42bbb7fcc77f5c2941124d5299.tar.gz
freebsd-ports-gnome-b7dc436d595d7f42bbb7fcc77f5c2941124d5299.tar.zst
freebsd-ports-gnome-b7dc436d595d7f42bbb7fcc77f5c2941124d5299.zip
mail/bsfilter: Remove @dirrm, unmask cmds, use COPYTREE over CP
PR: 194370 submitted by: maintainer (Yasuhiro KIMURA)
-rw-r--r--mail/bsfilter/Makefile6
-rw-r--r--mail/bsfilter/pkg-plist10
2 files changed, 3 insertions, 13 deletions
diff --git a/mail/bsfilter/Makefile b/mail/bsfilter/Makefile
index d288571c4c06..7a53dc19a2b6 100644
--- a/mail/bsfilter/Makefile
+++ b/mail/bsfilter/Makefile
@@ -32,13 +32,13 @@ RUN_DEPENDS+= ja-${RUBY_PKGNAMEPREFIX}mecab>=0:${PORTSDIR}/japanese/ruby-mecab
.endif
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/bsfilter/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_SCRIPT} ${WRKSRC}/bsfilter/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for FILE in bsfilter.conf.sample dot-qmail.sample
- @${INSTALL_DATA} ${FILESDIR}/${FILE} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${FILESDIR}/${FILE} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.for DIR in mda mua
- @${CP} -r ${WRKSRC}/${DIR} ${STAGEDIR}${EXAMPLESDIR}/${DIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} ${DIR} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>
diff --git a/mail/bsfilter/pkg-plist b/mail/bsfilter/pkg-plist
index 93cb6c0b7060..85f8fc8ba7ac 100644
--- a/mail/bsfilter/pkg-plist
+++ b/mail/bsfilter/pkg-plist
@@ -14,13 +14,3 @@ bin/bsfilter
%%PORTEXAMPLES%%share/examples/bsfilter/mua/mew5/mew.el
%%PORTEXAMPLES%%share/examples/bsfilter/mua/mew6/mew.el
%%PORTEXAMPLES%%share/examples/bsfilter/mua/mew6.4/mew.el
-%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mda/maildrop
-%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mda/procmail
-%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mda
-%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mua/mew6.4
-%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mua/mew6
-%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mua/mew5
-%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mua/mew4
-%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mua/mew3
-%%PORTEXAMPLES%%@dirrm share/examples/bsfilter/mua
-%%PORTEXAMPLES%%@dirrm share/examples/bsfilter