aboutsummaryrefslogtreecommitdiffstats
path: root/mail/vmailmgr
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-08 00:53:45 +0800
committermiwi <miwi@FreeBSD.org>2013-03-08 00:53:45 +0800
commit01586cc2cd8a893e9fb607884b766059ae2a287d (patch)
treee492c56fa7379da1ca224d6c3b1e9a31bdf1f7d9 /mail/vmailmgr
parenta526e1d7b60fba52822780fd8712e159d1c7b55c (diff)
downloadfreebsd-ports-gnome-01586cc2cd8a893e9fb607884b766059ae2a287d.tar.gz
freebsd-ports-gnome-01586cc2cd8a893e9fb607884b766059ae2a287d.tar.zst
freebsd-ports-gnome-01586cc2cd8a893e9fb607884b766059ae2a287d.zip
- Convert to OptionsNG
- Trim header Reviewed by: bapt
Diffstat (limited to 'mail/vmailmgr')
-rw-r--r--mail/vmailmgr/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/mail/vmailmgr/Makefile b/mail/vmailmgr/Makefile
index ff114ac29626..97df377889db 100644
--- a/mail/vmailmgr/Makefile
+++ b/mail/vmailmgr/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: vmailmgr
-# Date created: 24 October 2007
-# Whom: Mij <mij@bitchx.it>
-#
+# Created by: Mij <mij@bitchx.it>
# $FreeBSD$
-#
PORTNAME= vmailmgr
PORTVERSION= 0.97
@@ -31,15 +27,16 @@ USE_PERL5_BUILD= yes
AUTOMAKE_ARGS+= --add-missing -Wno-portability
MAKE_JOBS_SAFE= yes
-OPTIONS= PYTHONLIB "Install the Python API" Off
+OPTIONS_DEFINE= PYTHONLIBS
+PYTHONLIBS_DESC= Install the Python API
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(PREFIX)
CONFIGURE_ARGS+= --prefix=${PREFIX}
.endif
-.if defined(WITH_PYTHONLIB)
+.if ${PORT_OPTIONS:MPYTHONLIB}
CONFIGURE_ARGS+= --with-pythonapi=${PYTHON_SITELIBDIR}
PLIST_SUB+= PYTHON_SITELIBDIR="${PYTHON_SITELIBDIR}"
PLIST_SUB+= PYTHON=""
@@ -47,4 +44,4 @@ PLIST_SUB+= PYTHON=""
PLIST_SUB+= PYTHON="@comment "
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>