1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/comms/xlog/Makefile
Pav Lucistnik 8943ddd8be - Update to 2.0.4
PR:		ports/151809
Submitted by:	Matt Dawson <matt@chronos.org.uk> (maintainer)
2010-10-29 13:06:41 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: xlog
# Date created: 2002-11-05
# Whom: Patrick Gardella <patrick@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xlog
PORTVERSION= 2.0.4
CATEGORIES= comms hamradio
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
http://pg4i.chronos.org.uk/download/ \
http://www.qsl.net/pg4i/download/
MASTER_SITE_SUBDIR= xlog
MAINTAINER= matt@chronos.org.uk
COMMENT= Amateur Radio logging application
USE_GETTEXT= yes
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
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
PLIST_SUB+= NLS=""
.endif
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-D.*_DISABLE_DEPRECATED||g'
.if defined(NOPORTDOCS)
@${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>