aboutsummaryrefslogtreecommitdiff
path: root/mail/qmailadmin-devel/Makefile
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2002-02-07 10:45:53 +0000
committerPeter Pentchev <roam@FreeBSD.org>2002-02-07 10:45:53 +0000
commit95b23a73bc88a6fd4aceaa5ee5b5b3d5f6ce1369 (patch)
tree835672ad0bd8fd717b6dfd095f98a00f16320d44 /mail/qmailadmin-devel/Makefile
parent1067f80f932fd9d78a6f5d79801a667ae92bd525 (diff)
downloadports-95b23a73bc88a6fd4aceaa5ee5b5b3d5f6ce1369.tar.gz
ports-95b23a73bc88a6fd4aceaa5ee5b5b3d5f6ce1369.zip
Update qmailadmin to 1.0.1.
Take over maintainership from Neil Blakey-Milner, with many thanks for his work on this and other ports! PR: 34023 Submitted by: Oliver Lehmann <lehmann@ans-netz.de> Approved by: nbm (former maintainer)
Notes
Notes: svn path=/head/; revision=54303
Diffstat (limited to 'mail/qmailadmin-devel/Makefile')
-rw-r--r--mail/qmailadmin-devel/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/mail/qmailadmin-devel/Makefile b/mail/qmailadmin-devel/Makefile
index 35c2ecc6e442..83bb3dbc0231 100644
--- a/mail/qmailadmin-devel/Makefile
+++ b/mail/qmailadmin-devel/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= qmailadmin
-PORTVERSION= 0.45
+PORTVERSION= 1.0.1
CATEGORIES= mail www
MASTER_SITES= http://www.inter7.com/qmailadmin/
-MAINTAINER= nbm@FreeBSD.org
+MAINTAINER= roam@FreeBSD.org
BUILD_DEPENDS= \
${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail \
@@ -36,12 +36,20 @@ USE_GMAKE= YES
# WEBDATASUBDIR - subdirectory to place html files in (not working yet)
#
-CGIBINDIR?= ${PREFIX}/www/cgi-bin.default
+CGIBINDIR?= www/cgi-bin.default
CGIBINSUBDIR?= qmailadmin
CGIBINURL?= cgi-bin
-WEBDATADIR?= ${PREFIX}/www/data.default
+WEBDATADIR?= www/data.default
WEBDATASUBDIR?=
+# I'm working on this..
+.if ${WEBDATASUBDIR} != ""
+BROKEN= do not set WEBDATASUBDIR: qmailadmin is a bit buggy in that respect
+.endif
+
+PLIST_SUB+= CGIBINDIR="${CGIBINDIR}" CGIBINSUBDIR="${CGIBINSUBDIR}" \
+ WEBDATADIR="${WEBDATADIR}" WEBDATASUBDIR="${WEBDATASUBDIR}"
+
#
# QMAIL_DIR - location of qmail directory
#
@@ -55,8 +63,8 @@ QMAIL_DIR?= /var/qmail
# End of user-configurable variables
CONFIGURE_ARGS+= \
- --enable-htmldir=${WEBDATADIR}/${WEBDATASUBDIR} \
- --enable-cgibindir=${CGIBINDIR}/${CGIBINSUBDIR} \
+ --enable-htmldir=${PREFIX}/${WEBDATADIR}/${WEBDATASUBDIR} \
+ --enable-cgibindir=${PREFIX}/${CGIBINDIR}/${CGIBINSUBDIR} \
--with-htmllibdir=${PREFIX}/share/qmailadmin \
--enable-cgipath=/${CGIBINURL}/${CGIBINSUBDIR}/qmailadmin \
--enable-ezmlmidx=y