mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
1cd277bdce
GCC 4.6.4 to GCC 4.7.3. This entails updating the lang/gcc port as well as changing the default in Mk/bsd.default-versions.mk. Part II, Bump PORTREVISIONs. PR: 182136 Supported by: Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports) Tested by: bdrewery (two -exp runs)
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# Created by: Carl Makin <carl@stagecraft.cx>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gmfsk
|
|
PORTVERSION= 0.6
|
|
PORTREVISION= 12
|
|
CATEGORIES= comms audio hamradio
|
|
MASTER_SITES= http://gmfsk.connect.fi/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= db
|
|
|
|
MAINTAINER= carl@stagecraft.cx
|
|
COMMENT= The Gnome MFSK terminal program
|
|
|
|
LIB_DEPENDS= libfftw.so:${PORTSDIR}/math/fftw
|
|
|
|
GNU_CONFIGURE= yes
|
|
# This is pure evil but it looks like autoconf 2.53 has a bug in linking the
|
|
# preprocessor include tests. The following line is a work around.
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
USES= gmake pkgconfig
|
|
USE_GNOME= libgnomeui gnomehack gnomeprefix
|
|
INSTALLS_OMF= yes
|
|
|
|
GCONF_SCHEMAS= gmfsk.schemas
|
|
|
|
OPTIONS_DEFINE= HAMLIB
|
|
HAMLIB_DESC= Enable HAMLIB Support
|
|
OPTIONS_DEFAULT= HAMLIB
|
|
|
|
NO_STAGE= yes
|
|
.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
|
|
|
|
.if ( ${OSVERSION} >= 802502 && ${OSVERSION} < 900000 ) || ${OSVERSION} >= 900027
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-misc_misc.c
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-misc_misc.h
|
|
.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>
|