aboutsummaryrefslogtreecommitdiff
path: root/mail/popa3d
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-03-26 17:50:58 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-03-26 17:50:58 +0000
commita73495e87e1e7be000db29b64a6cad139e2b76ec (patch)
treebb77754059ac17d70b7f5369497cf73bea814ca3 /mail/popa3d
parent12f24bd542d642ddd60c235e3d0773bf8037156d (diff)
downloadports-a73495e87e1e7be000db29b64a6cad139e2b76ec.tar.gz
ports-a73495e87e1e7be000db29b64a6cad139e2b76ec.zip
- make PKGNAMESUFFIX more flexible
Notes
Notes: svn path=/head/; revision=105360
Diffstat (limited to 'mail/popa3d')
-rw-r--r--mail/popa3d/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile
index 5a92a8d91d50..bd604f2895b9 100644
--- a/mail/popa3d/Makefile
+++ b/mail/popa3d/Makefile
@@ -10,12 +10,7 @@ PORTVERSION= 0.6.4
CATEGORIES= mail
MASTER_SITES= http://www.openwall.com/popa3d/ \
ftp://ftp.openwall.com/pub/projects/popa3d/
-.if defined(SMTP_AFTER_POP3)
-PKGNAMESUFFIX?= -before-sendmail
-.endif
-.if defined(STANDALONE_POP3)
-PKGNAMESUFFIX?= -standalone
-.endif
+PKGNAMESUFFIX?= ${SMTP_AFTER_POP3_SUFFIX}${STANDALONE_SUFFIX}${PKGNAMESUFFIX2}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Secure, performance, tiny POP3 daemon
@@ -26,6 +21,7 @@ MAN8= popa3d.8
PLIST= ${WRKDIR}/.PLIST.more
CFLAGS+= -DPREFIX=${PREFIX}
.if defined(STANDALONE_POP3)
+STANDALONE_SUFFIX= -standalone
PLIST_SUB+= STANDALONE_POP3=""
CONFLICTS?= popa3d-0.* popa3d-before-sendmail-0.*
PKGMESSAGE= ${NONEXISTENT}
@@ -34,6 +30,7 @@ PKGDEINSTALL= ${NONEXISTENT}
PLIST_SUB+= STANDALONE_POP3="@comment "
.endif
.if defined(SMTP_AFTER_POP3)
+SMTP_AFTER_POP3_SUFFIX= -before-sendmail
EXTRA_PATCHES+= ${FILESDIR}/pop-before-sendmail.patch
PLIST_SUB+= SMTP_AFTER_POP3=""
CONFLICTS?= popa3d-0.* popa3d-standalone-0.*