From owner-svn-ports-head@FreeBSD.ORG Tue Dec 25 14:28:21 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C266786; Tue, 25 Dec 2012 14:28:21 +0000 (UTC) (envelope-from mva@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 80D828FC0C; Tue, 25 Dec 2012 14:28:21 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBPESLcG071729; Tue, 25 Dec 2012 14:28:21 GMT (envelope-from mva@svn.freebsd.org) Received: (from mva@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBPESL3N071728; Tue, 25 Dec 2012 14:28:21 GMT (envelope-from mva@svn.freebsd.org) Message-Id: <201212251428.qBPESL3N071728@svn.freebsd.org> From: Marcus von Appen Date: Tue, 25 Dec 2012 14:28:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309484 - head/games/glightoff 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: Tue, 25 Dec 2012 14:28:21 -0000 Author: mva Date: Tue Dec 25 14:28:20 2012 New Revision: 309484 URL: http://svnweb.freebsd.org/changeset/ports/309484 Log: - Fix NLS option behaviour PR: ports/173424 Submitted by: nemysis (maintainer) Modified: head/games/glightoff/Makefile Modified: head/games/glightoff/Makefile ============================================================================== --- head/games/glightoff/Makefile Tue Dec 25 13:12:43 2012 (r309483) +++ head/games/glightoff/Makefile Tue Dec 25 14:28:20 2012 (r309484) @@ -1,13 +1,9 @@ -# New Ports collection makefile for: glightoff -# Date created: 21 April 2012 -# Whom: nemysis@gmx.ch -# +# Created by: nemysis@gmx.ch # $FreeBSD$ -# PORTNAME= glightoff PORTVERSION= 1.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} @@ -27,8 +23,6 @@ LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= AUTHORS ChangeLog NEWS README TODO OPTIONS_DEFINE= NLS -NLS_DESC= Native Language Support via gettext -OPTIONS_DEFAULT= NLS .include @@ -40,17 +34,14 @@ PLIST_SUB+= NLS="@comment " .endif post-configure: -.if empty(PORT_OPTIONS:MNLS) +.if !${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile .endif post-install: -# Documentation .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} -. for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -. endfor + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include