aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Clamd
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2013-11-05 10:54:53 +0800
committervanilla <vanilla@FreeBSD.org>2013-11-05 10:54:53 +0800
commita5ffda6162b7fef1ce686160788170697658376e (patch)
tree3aa25390a1624e7a85e0bc4e1fb2d9949400d1e0 /mail/p5-Clamd
parent5f5887aaac5be6ae82b2db46a605904112a74fdd (diff)
downloadfreebsd-ports-gnome-a5ffda6162b7fef1ce686160788170697658376e.tar.gz
freebsd-ports-gnome-a5ffda6162b7fef1ce686160788170697658376e.tar.zst
freebsd-ports-gnome-a5ffda6162b7fef1ce686160788170697658376e.zip
Support STAGEDIR.
Diffstat (limited to 'mail/p5-Clamd')
-rw-r--r--mail/p5-Clamd/Makefile8
-rw-r--r--mail/p5-Clamd/pkg-plist4
2 files changed, 4 insertions, 8 deletions
diff --git a/mail/p5-Clamd/Makefile b/mail/p5-Clamd/Makefile
index c1c9e37d0cdf..eff68662cb5e 100644
--- a/mail/p5-Clamd/Makefile
+++ b/mail/p5-Clamd/Makefile
@@ -14,17 +14,9 @@ COMMENT= Clamd - Connect to a local clamd service and send commands
RUN_DEPENDS= clamd:${PORTSDIR}/security/clamav
BUILD_DEPENDS:= ${RUN_DEPENDS}
-MAN3= Clamd.3
-
USES= perl5
USE_PERL5= configure
-PLIST_FILES= %%SITE_PERL%%/Clamd.pm \
- %%SITE_PERL%%/%%PERL_ARCH%%/auto/Clamd/.packlist
-
-PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Clamd
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/Makefile.PL
diff --git a/mail/p5-Clamd/pkg-plist b/mail/p5-Clamd/pkg-plist
new file mode 100644
index 000000000000..820dd583c4f5
--- /dev/null
+++ b/mail/p5-Clamd/pkg-plist
@@ -0,0 +1,4 @@
+%%PERL5_MAN3%%/Clamd.3.gz
+%%SITE_PERL%%/Clamd.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Clamd/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Clamd