freebsd-ports/comms/gpredict/Makefile
Baptiste Daroussin 9ff06b3cbf Convert a bunch of ports from WITHOUT_NLS -> ${PORT_OPTIONS:MNLS}
While here:
- trim headers
- convert to new options framework
2013-04-29 22:27:05 +00:00

44 lines
963 B
Makefile

# Created by: Matt Dawson <matt@mattsnetwork.co.uk>
# $FreeBSD$
PORTNAME= gpredict
PORTVERSION= 1.2
PORTREVISION= 2
CATEGORIES= comms hamradio
MASTER_SITES= SF/gpredict/Gpredict/${PORTVERSION}
MAINTAINER= matt@chronos.org.uk
COMMENT= Amateur Radio satellite tracking and prediction
LIB_DEPENDS= hamlib:${PORTSDIR}/comms/hamlib \
goocanvas:${PORTSDIR}/graphics/goocanvas
BUILD_DEPENDS= curl:${PORTSDIR}/ftp/curl
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --localedir=${PREFIX}/share/locale
USE_GMAKE= yes
MAN1= gpredict.1
LICENSE= GPLv2
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
DESKTOP_ENTRIES="GPREDICT" \
"Predict satellite passage times" \
"${PREFIX}/share/pixmaps/gpredict/icons/gpredict-icon.png" \
"gpredict" \
"" \
true
.include <bsd.port.mk>