diff options
author | danfe <danfe@FreeBSD.org> | 2013-02-25 18:51:28 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2013-02-25 18:51:28 +0800 |
commit | eaee25c3919f8630ad85f93bb31e3be4704121f2 (patch) | |
tree | 9c0fb4d7603ed26764a61e44e575ba66a9ad9589 /astro | |
parent | fa039f548cb236b7d6a2a39622266c3e4c478349 (diff) | |
download | freebsd-ports-gnome-eaee25c3919f8630ad85f93bb31e3be4704121f2.tar.gz freebsd-ports-gnome-eaee25c3919f8630ad85f93bb31e3be4704121f2.tar.zst freebsd-ports-gnome-eaee25c3919f8630ad85f93bb31e3be4704121f2.zip |
- Trim Makefile header
- Define LICENSE (GPLv2)
- Convert to OptionsNG
- Sort the knobs, cleanup
Diffstat (limited to 'astro')
-rw-r--r-- | astro/gpsdrive/Makefile | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/astro/gpsdrive/Makefile b/astro/gpsdrive/Makefile index 4d9e3eddb518..d8a2f2bd47f1 100644 --- a/astro/gpsdrive/Makefile +++ b/astro/gpsdrive/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: gpsdrive -# Date Created: 16 April 2002 -# Whom: Marco Molteni <molter@gufi.org> -# +# Created by: Marco Molteni <molter@gufi.org> # $FreeBSD$ -# PORTNAME= gpsdrive PORTVERSION= 2.09 @@ -13,38 +9,46 @@ MASTER_SITES= http://www.gpsdrive.de/packages/ \ LOCAL/beech MAINTAINER= ports@FreeBSD.org -COMMENT= A GPS navigation system +COMMENT= GPS navigation system -LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre +LICENSE= GPLv2 -USE_PERL5= yes +LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre + +USE_AUTOTOOLS= libtool USE_GMAKE= yes USE_GNOME= gtk20 -USE_AUTOTOOLS= libtool -MAKE_JOBS_UNSAFE= yes +USE_PERL5= yes +USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-garmin -USE_LDCONFIG= yes +MAKE_JOBS_UNSAFE= yes -.if defined(WITHOUT_NLS) -PLIST_SUB+= NLS="@comment " -.else +MAN1= gpsdrive.1 +MANLANG= "" de es + +OPTIONS_DEFINE= NLS + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" +.else +PLIST_SUB+= NLS="@comment " .endif -MAN1= gpsdrive.1 -MANLANG= "" de es - post-patch: -.if defined(WITHOUT_NLS) +.if ! ${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} 's|SUBDIRS = src po man|SUBDIRS = src man|' \ ${WRKSRC}/Makefile.in .endif post-install: + @${ECHO_MSG} @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} .include <bsd.port.mk> |