aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2006-12-14 08:27:44 +0800
committershaun <shaun@FreeBSD.org>2006-12-14 08:27:44 +0800
commit38d54b5d7b597d1ac83ff00e85f8539b6dde263e (patch)
tree8801a3204c691c44d327f167f254ccbcea7455d8
parent28673fb00b8b8bc9b3e64894105dba3c603f972b (diff)
downloadfreebsd-ports-gnome-38d54b5d7b597d1ac83ff00e85f8539b6dde263e.tar.gz
freebsd-ports-gnome-38d54b5d7b597d1ac83ff00e85f8539b6dde263e.tar.zst
freebsd-ports-gnome-38d54b5d7b597d1ac83ff00e85f8539b6dde263e.zip
- Add WITH_DEBUG knob. [1]
- Use DOCSDIR in pkg-plist. PR: ports/106698 [1] Submitted by: Greg Larkin <glarkin@sourcehosting.net>
-rw-r--r--mail/vm-pop3d/Makefile4
-rw-r--r--mail/vm-pop3d/pkg-plist14
2 files changed, 11 insertions, 7 deletions
diff --git a/mail/vm-pop3d/Makefile b/mail/vm-pop3d/Makefile
index 7ea115126b5b..7bc457b8b279 100644
--- a/mail/vm-pop3d/Makefile
+++ b/mail/vm-pop3d/Makefile
@@ -23,6 +23,9 @@ CONFIGURE_ARGS+= --enable-ip-based-virtual --enable-virtual
.elif defined(WITH_VIRTUAL)
CONFIGURE_ARGS+= --enable-virtual
.endif
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+= --enable-debug
+.endif
MAN8= vm-pop3d.8
@@ -34,6 +37,7 @@ pre-patch:
@${ECHO} ""
@${ECHO} " WITH_VIRTUAL enable virtual passwd files and spool directories."
@${ECHO} " WITH_IPVIRTUAL enable IP-based virtual passwd files and spool directories."
+ @${ECHO} " WITH_DEBUG enable debugging."
@${ECHO} ""
post-patch:
diff --git a/mail/vm-pop3d/pkg-plist b/mail/vm-pop3d/pkg-plist
index 88e696b1cee4..e5cd3caef8d5 100644
--- a/mail/vm-pop3d/pkg-plist
+++ b/mail/vm-pop3d/pkg-plist
@@ -1,9 +1,9 @@
etc/rc.d/vm-pop3d.sh.sample
sbin/vm-pop3d
-%%PORTDOCS%%share/doc/vm-pop3d/AUTHORS
-%%PORTDOCS%%share/doc/vm-pop3d/CHANGES
-%%PORTDOCS%%share/doc/vm-pop3d/COPYING
-%%PORTDOCS%%share/doc/vm-pop3d/FAQ
-%%PORTDOCS%%share/doc/vm-pop3d/INSTALL
-%%PORTDOCS%%share/doc/vm-pop3d/README
-%%PORTDOCS%%@dirrm share/doc/vm-pop3d
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%