aboutsummaryrefslogtreecommitdiffstats
path: root/comms/gammu
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
committermat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
commit9d30f78a00bed11384c7259f662e9352754275db (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /comms/gammu
parent996088dedaf9d22bcd7c90caa96d33c0f68b08e7 (diff)
downloadfreebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.gz
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.zst
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'comms/gammu')
-rw-r--r--comms/gammu/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/comms/gammu/Makefile b/comms/gammu/Makefile
index 896c69494789..c6ddb2c523b3 100644
--- a/comms/gammu/Makefile
+++ b/comms/gammu/Makefile
@@ -41,14 +41,9 @@ post-install:
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MBASH}
-BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash
-RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash
-PLIST_FILES+= etc/bash_completion.d/gammu
-.else
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-contrib_CMakeLists.txt
-.endif
+BASH_BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
+BASH_RUN_DEPENDS= ${BASH_BUILD_DEPENDS}
+BASH_PLIST_FILES= etc/bash_completion.d/gammu
+BASH_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-contrib_CMakeLists.txt
.include <bsd.port.mk>