aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2013-11-08 09:28:37 +0800
committervanilla <vanilla@FreeBSD.org>2013-11-08 09:28:37 +0800
commit0b0676024c89e22bdd2eb6039ef61255fbdfea6f (patch)
treedebf2b91080ed792120c0fe83f5675fb23b07a70 /mail
parent9265d495d63e1f95e600a2e4cc152090a52c9360 (diff)
downloadfreebsd-ports-gnome-0b0676024c89e22bdd2eb6039ef61255fbdfea6f.tar.gz
freebsd-ports-gnome-0b0676024c89e22bdd2eb6039ef61255fbdfea6f.tar.zst
freebsd-ports-gnome-0b0676024c89e22bdd2eb6039ef61255fbdfea6f.zip
Support STAGEDIR.
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-LMAP-CID2SPF/Makefile10
-rw-r--r--mail/p5-LMAP-CID2SPF/pkg-plist3
2 files changed, 6 insertions, 7 deletions
diff --git a/mail/p5-LMAP-CID2SPF/Makefile b/mail/p5-LMAP-CID2SPF/Makefile
index 2077dd4637ad..7fb3195de031 100644
--- a/mail/p5-LMAP-CID2SPF/Makefile
+++ b/mail/p5-LMAP-CID2SPF/Makefile
@@ -16,13 +16,9 @@ USES= perl5
USE_PERL5= configure
CONFIGURE_SCRIPT=Makefile.PL
-PLIST_FILES+= bin/cid2spf %%SITE_PERL%%/LMAP/CID2SPF.pm
-PLIST_FILES+= "@unexec rmdir %D/%%SITE_PERL%%/LMAP 2>/dev/null || true"
-
-NO_STAGE= yes
do-install:
- @${MKDIR} ${SITE_PERL}/LMAP
- cd ${WRKSRC} && ${INSTALL_SCRIPT} cid2spf ${PREFIX}/bin
- cd ${WRKSRC} && ${INSTALL_DATA} CID2SPF.pm ${SITE_PERL}/LMAP
+ @${MKDIR} ${STAGEDIR}${SITE_PERL}/LMAP
+ cd ${WRKSRC} && ${INSTALL_SCRIPT} cid2spf ${STAGEDIR}${PREFIX}/bin
+ cd ${WRKSRC} && ${INSTALL_DATA} CID2SPF.pm ${STAGEDIR}${SITE_PERL}/LMAP
.include <bsd.port.mk>
diff --git a/mail/p5-LMAP-CID2SPF/pkg-plist b/mail/p5-LMAP-CID2SPF/pkg-plist
new file mode 100644
index 000000000000..ce9adbaed876
--- /dev/null
+++ b/mail/p5-LMAP-CID2SPF/pkg-plist
@@ -0,0 +1,3 @@
+bin/cid2spf
+%%SITE_PERL%%/LMAP/CID2SPF.pm
+@dirrmtry %%SITE_PERL%%/LMAP