aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamav-devel
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-06-22 18:50:39 +0800
committerjylefort <jylefort@FreeBSD.org>2005-06-22 18:50:39 +0800
commite66d4238968dba460495d2f1cd5b7fd24a491443 (patch)
tree6b8e8a3f415fbf7b049fc802389f1fa677789386 /security/clamav-devel
parent19158b8a41619f2263ee7d34a40e014870d04c08 (diff)
downloadfreebsd-ports-gnome-e66d4238968dba460495d2f1cd5b7fd24a491443.tar.gz
freebsd-ports-gnome-e66d4238968dba460495d2f1cd5b7fd24a491443.tar.zst
freebsd-ports-gnome-e66d4238968dba460495d2f1cd5b7fd24a491443.zip
Fix the packing list
Diffstat (limited to 'security/clamav-devel')
-rw-r--r--security/clamav-devel/Makefile2
-rw-r--r--security/clamav-devel/pkg-plist1
2 files changed, 3 insertions, 0 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index 48c992864573..cb7a77d80292 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -40,7 +40,9 @@ USE_RC_SUBR= yes
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
+.if !defined(NOPORTDOCS)
PORTDOCS= NEWS ChangeLog html
+.endif
DBDIR= /var/db/clamav
LOGDIR= /var/log/clamav
diff --git a/security/clamav-devel/pkg-plist b/security/clamav-devel/pkg-plist
index 40c794a36278..d47e0efab368 100644
--- a/security/clamav-devel/pkg-plist
+++ b/security/clamav-devel/pkg-plist
@@ -17,6 +17,7 @@ lib/libclamav.so.1
lib/libclamav.so
lib/libclamav.a
libdata/pkgconfig/libclamav.pc
+@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
@unexec if cmp -s %D/etc/clamd.conf %D/etc/clamd.conf.default; then rm -f %D/etc/clamd.conf; fi
etc/clamd.conf.default
@exec [ -f %B/clamd.conf ] || cp %B/%f %B/clamd.conf