From owner-svn-ports-head@FreeBSD.ORG Mon Dec 23 06:51:40 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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12AC44EE; Mon, 23 Dec 2013 06:51:40 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D95421F1A; Mon, 23 Dec 2013 06:51:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBN6pdV5039545; Mon, 23 Dec 2013 06:51:39 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBN6pdOO039544; Mon, 23 Dec 2013 06:51:39 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201312230651.rBN6pdOO039544@svn.freebsd.org> From: Rusmir Dusko Date: Mon, 23 Dec 2013 06:51:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337229 - 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.17 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, 23 Dec 2013 06:51:40 -0000 Author: nemysis Date: Mon Dec 23 06:51:39 2013 New Revision: 337229 URL: http://svnweb.freebsd.org/changeset/ports/337229 Log: - Change Makefile header - Bump PORTREVISION for dependency change - Add dependency for textproc/p5-XML-Parser - Add USES iconv - Add DOCS Option - Support STAGEDIR Approved by: pawel / wg (mentors, implicit) Modified: head/games/glightoff/Makefile Modified: head/games/glightoff/Makefile ============================================================================== --- head/games/glightoff/Makefile Mon Dec 23 06:21:19 2013 (r337228) +++ head/games/glightoff/Makefile Mon Dec 23 06:51:39 2013 (r337229) @@ -1,19 +1,21 @@ -# Created by: nemysis@gmx.ch +# Created by: nemysis # $FreeBSD$ PORTNAME= glightoff PORTVERSION= 1.0.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} MAINTAINER= nemysis@FreeBSD.org COMMENT= Simple (but not so easy to solve!) puzzle game +BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser + LICENSE= GPLv2 +USES= gmake iconv pkgconfig GNU_CONFIGURE= yes -USES= gmake pkgconfig USE_GNOME= glib20 gtk20 USE_XORG= x11 @@ -22,27 +24,20 @@ LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= AUTHORS ChangeLog NEWS README TODO -OPTIONS_DEFINE= NLS +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes -NO_STAGE= yes -.include +NLS_USES= gettext -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -.endif +.include post-configure: -.if !${PORT_OPTIONS:MNLS} +.if ! ${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} 's|src po|src|' ${WRKSRC}/Makefile .endif post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include