aboutsummaryrefslogtreecommitdiff
path: root/comms/gmfsk
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitbb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /comms/gmfsk
parent29879aded766da253313579a3503ff5e15026355 (diff)
downloadports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz
ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip
Notes
Diffstat (limited to 'comms/gmfsk')
-rw-r--r--comms/gmfsk/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/comms/gmfsk/Makefile b/comms/gmfsk/Makefile
index 641b03a0cc4d..2c304fecc602 100644
--- a/comms/gmfsk/Makefile
+++ b/comms/gmfsk/Makefile
@@ -33,18 +33,12 @@ OPTIONS_DEFINE= HAMLIB
HAMLIB_DESC= Enable HAMLIB Support
OPTIONS_DEFAULT= HAMLIB
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MHAMLIB}
-LIB_DEPENDS+= libhamlib.so:${PORTSDIR}/comms/hamlib
-CONFIGURE_ARGS+= --enable-hamlib
-CONFIGURE_ENV+= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig
-.else
-CONFIGURE_ARGS+= --disable-hamlib
-.endif
+HAMLIB_LIB_DEPENDS= libhamlib.so:${PORTSDIR}/comms/hamlib
+HAMLIB_CONFIGURE_ENABLE= hamlib
+HAMLIB_CONFIGURE_ENV= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig
post-patch:
@${REINPLACE_CMD} -e 's|[$$][(]localstatedir[)]/lib/scrollkeeper|${SCROLLKEEPER_DIR}|g' \
${WRKSRC}/omf.make ${WRKSRC}/help/gmfsk/C/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>