diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-03-27 01:50:58 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-03-27 01:50:58 +0800 |
commit | 0985ebaaa3b37cbc0032bbb7b68c3dfa776a04ee (patch) | |
tree | 8745f97d4c0b4e4b4d9bd67edb0ffaf19cd22100 /mail/popa3d | |
parent | 94cb17f8abab42c8d414add48edd4037f38433f8 (diff) | |
download | freebsd-ports-gnome-0985ebaaa3b37cbc0032bbb7b68c3dfa776a04ee.tar.gz freebsd-ports-gnome-0985ebaaa3b37cbc0032bbb7b68c3dfa776a04ee.tar.zst freebsd-ports-gnome-0985ebaaa3b37cbc0032bbb7b68c3dfa776a04ee.zip |
- make PKGNAMESUFFIX more flexible
Diffstat (limited to 'mail/popa3d')
-rw-r--r-- | mail/popa3d/Makefile | 9 |
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.* |