aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail-smtp_auth/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-02-14 01:26:03 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-02-14 01:26:03 +0000
commit8bf4730882b9662af6f989f31ee76c4cec91c7c1 (patch)
treef1a706db7a7cdb3963ddc8d37c424da3c75c456b /mail/qmail-smtp_auth/Makefile
parentf293e86b0552500f144b43f52997443d3a1fb5af (diff)
downloadports-8bf4730882b9662af6f989f31ee76c4cec91c7c1.tar.gz
ports-8bf4730882b9662af6f989f31ee76c4cec91c7c1.zip
Notes
Diffstat (limited to 'mail/qmail-smtp_auth/Makefile')
-rw-r--r--mail/qmail-smtp_auth/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/mail/qmail-smtp_auth/Makefile b/mail/qmail-smtp_auth/Makefile
index 56d71a279c62..af454106c0ca 100644
--- a/mail/qmail-smtp_auth/Makefile
+++ b/mail/qmail-smtp_auth/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= qmail
-PORTVERSION= ${QMAIL_VERSION}.${TLS_PATCH_DATE}
+PORTVERSION= ${QMAIL_VERSION}.${TLS_PATCH_DATE}
CATEGORIES= mail
PKGNAMESUFFIX= -tls
@@ -20,17 +20,23 @@ USE_OPENSSL= YES
TLS_PATCH_DATE= 20000823
+# Using default from master port, i.e., /var/qmail
+PREFIX?= ${QMAIL_PORT_PREFIX}
+#PREFIX= /var/qmail-tls
+
.if !defined(PRE_MK_INCLUDED)
.include <bsd.port.pre.mk>
.endif
-MAKE_ARGS+= TLS=yes
+MAKE_ARGS+= TLS=yes
.if defined(WITH_TLS_DEBUG)
MAKE_ARGS+= DEBUG=yes
.endif # WITH_TLS_DEBUG
-#PREFIX= /var/qmail-tls
+#QMAIL_PORT= ${PORTSDIR}/mail/qmail
+QMAIL_PORT= ${.CURDIR}/../qmail
+QMAIL_PORT_PREFIX!= cd ${QMAIL_PORT} && ${MAKE} -V PREFIX
DOCFILES+= ${WRKDIR}/TLS.readme
@@ -89,8 +95,7 @@ certificate-req:
fi
# Local overrides
-MASTERDIR= ${PORTSDIR}/mail/qmail
-#MASTERDIR= ${.CURDIR}/../qmail
+MASTERDIR= ${QMAIL_PORT}
PKGDIR_LOCAL= ${.CURDIR}
COMMENT= ${PKGDIR_LOCAL}/pkg-comment
DESCR= ${PKGDIR_LOCAL}/pkg-descr