aboutsummaryrefslogtreecommitdiffstats
path: root/comms/gmfsk
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-02-04 07:50:35 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-02-04 07:50:35 +0800
commitda8c11954ad5a4793dea0d257b24d73956852151 (patch)
tree4cdb3f8af6d4242fa945d263b155971285c826a5 /comms/gmfsk
parent69d7c03c20cc1f6619d78801306a4ee672702bfb (diff)
downloadfreebsd-ports-gnome-da8c11954ad5a4793dea0d257b24d73956852151.tar.gz
freebsd-ports-gnome-da8c11954ad5a4793dea0d257b24d73956852151.tar.zst
freebsd-ports-gnome-da8c11954ad5a4793dea0d257b24d73956852151.zip
- Remove always true OSVERSION condition
- Don't cat pkg-message from Makefile - Simplify MASTER_SITES - Add LICENSE_FILE Approved by: portmgr blanket
Diffstat (limited to 'comms/gmfsk')
-rw-r--r--comms/gmfsk/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/comms/gmfsk/Makefile b/comms/gmfsk/Makefile
index 9e573b8b90d9..641b03a0cc4d 100644
--- a/comms/gmfsk/Makefile
+++ b/comms/gmfsk/Makefile
@@ -7,13 +7,13 @@ PORTREVISION= 13
CATEGORIES= comms audio hamradio
MASTER_SITES= http://gmfsk.connect.fi/ \
http://he.fi/pub/ham/unix/linux/hfmodems/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= carl@stagecraft.cx
COMMENT= The Gnome MFSK terminal program
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfftw.so:${PORTSDIR}/math/fftw
@@ -27,6 +27,8 @@ INSTALLS_OMF= yes
GCONF_SCHEMAS= gmfsk.schemas
+CPPFLAGS+= -DFBSD_HAS_LOG2
+
OPTIONS_DEFINE= HAMLIB
HAMLIB_DESC= Enable HAMLIB Support
OPTIONS_DEFAULT= HAMLIB
@@ -41,15 +43,8 @@ CONFIGURE_ENV+= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig
CONFIGURE_ARGS+= --disable-hamlib
.endif
-.if ( ${OSVERSION} >= 802502 && ${OSVERSION} < 900000 ) || ${OSVERSION} >= 900027
-CPPFLAGS+= -DFBSD_HAS_LOG2
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|[$$][(]localstatedir[)]/lib/scrollkeeper|${SCROLLKEEPER_DIR}|g' \
${WRKSRC}/omf.make ${WRKSRC}/help/gmfsk/C/Makefile.in
-post-install:
- @${CAT} pkg-message
-
.include <bsd.port.post.mk>