summaryrefslogtreecommitdiff
path: root/mail/vqadmin/Makefile
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-05-15 13:47:22 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-05-15 13:47:22 +0000
commit52c517532fd0d92edbfdf352845eddbe3c42c09a (patch)
tree29b7cad90d322399bdc75c3e79e9f9c073824321 /mail/vqadmin/Makefile
parentNew port. (diff)
Update vqadmin to 2.3.5 take maintainership
PR: 48534 Approved by: nbm, alex (mentor)
Diffstat (limited to 'mail/vqadmin/Makefile')
-rw-r--r--mail/vqadmin/Makefile33
1 files changed, 24 insertions, 9 deletions
diff --git a/mail/vqadmin/Makefile b/mail/vqadmin/Makefile
index 1212068f4d00..4f802f0efad9 100644
--- a/mail/vqadmin/Makefile
+++ b/mail/vqadmin/Makefile
@@ -6,19 +6,34 @@
#
PORTNAME= vqadmin
-PORTVERSION= 2.2
+PORTVERSION= 2.3.5
CATEGORIES= mail
-MASTER_SITES= http://www.inter7.com/vqadmin/
+MASTER_SITES= http://www.inter7.com/devel/ \
+ http://www.inter7.com/vqadmin/
-MAINTAINER= nbm@FreeBSD.org
+MAINTAINER= oliver@FreeBSD.org
COMMENT= A cgi-based Virtual Qmail Domains Administrator
-BUILD_DEPENDS= \
- ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
-RUN_DEPENDS= \
- ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
+LIB_DEPENDS= getline.1:${PORTSDIR}/devel/libgetline
+BUILD_DEPENDS= ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
+RUN_DEPENDS= ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
GNU_CONFIGURE= YES
-CONFIGURE_ARGS= --enable-cgibindir=${PREFIX}/www/cgi-bin.default/
+USE_REINPLACE= YES
+
+CGIBINDIR?= ${PREFIX}/www/cgi-bin.default
+WEBDATADIR?= ${PREFIX}/www/data.default
+
+CONFIGURE_ARGS= --enable-cgibindir=${CGIBINDIR} \
+ --enable-htmldir=${WEBDATADIR}
+
+.include <bsd.port.pre.mk>
+
+PLIST_SUB+= CGIBINDIR=${CGIBINDIR} WEBDATADIR=${WEBDATADIR}
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
+ ${WRKSRC}/Makefile.in
+
+.include <bsd.port.post.mk>
-.include <bsd.port.mk>