freebsd-ports/comms/xlog/Makefile
Ryan Steinmetz 7e8fe2b65f - Reset maintainer due to fatal email bounce
Reported by:	portscout
2013-06-18 13:52:06 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Patrick Gardella <patrick@FreeBSD.org>
# $FreeBSD$
PORTNAME= xlog
PORTVERSION= 2.0.5
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
http://www.chronos.org.uk/download/
MASTER_SITE_SUBDIR= xlog
MAINTAINER= ports@FreeBSD.org
COMMENT= Amateur Radio logging application
USES= gettext
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-mime-update \
CFLAGS="-I${PREFIX}/include" \
LDFLAGS="-L${PREFIX}/lib"
LIB_DEPENDS+= hamlib:${PORTSDIR}/comms/hamlib
MAN1= xlog.1
LICENSE= GPLv3
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-D.*_DISABLE_DEPRECATED||g'
.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's|desktop doc dxcc|desktop dxcc|g' \
${WRKSRC}/data/Makefile.in
@${REINPLACE_CMD} -e \
's|install-data-am: install-glabelsDATA|install-data-am:|g' \
${WRKSRC}/data/glabels/Makefile.in
.endif
.include <bsd.port.mk>