From owner-svn-ports-head@FreeBSD.ORG Mon Feb 25 10:51:29 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0FF509D8; Mon, 25 Feb 2013 10:51:29 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id ED6C8D1F; Mon, 25 Feb 2013 10:51:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1PApSl0036744; Mon, 25 Feb 2013 10:51:28 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1PApSfv036743; Mon, 25 Feb 2013 10:51:28 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201302251051.r1PApSfv036743@svn.freebsd.org> From: Alexey Dokuchaev Date: Mon, 25 Feb 2013 10:51:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r312913 - head/astro/gpsdrive X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2013 10:51:29 -0000 Author: danfe Date: Mon Feb 25 10:51:28 2013 New Revision: 312913 URL: http://svnweb.freebsd.org/changeset/ports/312913 Log: - Trim Makefile header - Define LICENSE (GPLv2) - Convert to OptionsNG - Sort the knobs, cleanup Modified: head/astro/gpsdrive/Makefile Modified: head/astro/gpsdrive/Makefile ============================================================================== --- head/astro/gpsdrive/Makefile Mon Feb 25 10:30:40 2013 (r312912) +++ head/astro/gpsdrive/Makefile Mon Feb 25 10:51:28 2013 (r312913) @@ -1,9 +1,5 @@ -# New ports collection makefile for: gpsdrive -# Date Created: 16 April 2002 -# Whom: Marco Molteni -# +# Created by: Marco Molteni # $FreeBSD$ -# PORTNAME= gpsdrive PORTVERSION= 2.09 @@ -13,38 +9,46 @@ MASTER_SITES= http://www.gpsdrive.de/pac 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 + +.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