Date: Mon, 23 Dec 2013 06:51:39 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337229 - head/games/glightoff Message-ID: <201312230651.rBN6pdOO039544@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <nemysis@gmx.ch> # $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 <bsd.port.options.mk> +NLS_USES= gettext -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -.endif +.include <bsd.port.options.mk> 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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312230651.rBN6pdOO039544>