From 4970d21bfd03b3760508de4c2293fdbb1c16d6ab Mon Sep 17 00:00:00 2001 From: dinoex Date: Sun, 16 Sep 2012 15:18:42 +0000 Subject: - use OPTIONS_DEFINE --- mail/popa3d/Makefile | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'mail/popa3d') diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile index 7826e0877ee3..3f234464b306 100644 --- a/mail/popa3d/Makefile +++ b/mail/popa3d/Makefile @@ -22,21 +22,15 @@ PLIST= ${WRKDIR}/.PLIST.more CFLAGS+= -DPREFIX=${PREFIX} UNIQUENAME= ${.CURDIR:T} -OPTIONS?= SMTP_AFTER_POP3 "Enable SMTP-after-POP mode" off \ - STANDALONE_POP3 "Enable standalone server mode" off \ - SETPROCTITLE "Enable setproctitle mode" off +OPTIONS_DEFINE= SMTP_AFTER_POP3 STANDALONE_POP3 SETPROCTITLE +NO_OPTIONS_SORT=yes +SMTP_AFTER_POP3_DESC=Enable SMTP-after-POP support +STANDALONE_POP3_DESC=Enable standalone server mode +SETPROCTITLE_DESC=Enable setproctitle() support .include -# honor old flags -.if defined(STANDALONE_POP3) -WITH_STANDALONE_POP3= yes -.endif -.if defined(SMTP_AFTER_POP3) -WITH_SMTP_AFTER_POP3= yes -.endif - -.if defined(WITH_STANDALONE_POP3) +.if ${PORT_OPTIONS:MSTANDALONE_POP3} STANDALONE_SUFFIX= -standalone PLIST_SUB+= STANDALONE_POP3="" CONFLICTS?= popa3d-0.* popa3d-before-sendmail-0.* @@ -48,7 +42,7 @@ SUB_FILES= pkg-message PLIST_SUB+= STANDALONE_POP3="@comment " .endif -.if defined(WITH_SMTP_AFTER_POP3) +.if ${PORT_OPTIONS:MSMTP_AFTER_POP3} SMTP_AFTER_POP3_SUFFIX= -before-sendmail EXTRA_PATCHES+= ${FILESDIR}/pop-before-sendmail.patch PLIST_SUB+= SMTP_AFTER_POP3="" @@ -58,7 +52,7 @@ PLIST_SUB+= SMTP_AFTER_POP3="@comment " CONFLICTS?= popa3d-standalone-0.* popa3d-before-sendmail-0.* .endif -.if defined(WITH_SETPROCTITLE) +.if ${PORT_OPTIONS:MSETPROCTITLE} EXTRA_PATCHES+= ${FILESDIR}/setproctitle.patch .endif -- cgit > FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update WWWsunpoet2018-05-28