Date: Tue, 10 Dec 2013 19:42:51 +0000 (UTC) From: Danilo Egea Gondolfo <danilo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336100 - head/misc/terraform Message-ID: <201312101942.rBAJgpwN088874@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Tue Dec 10 19:42:51 2013 New Revision: 336100 URL: http://svnweb.freebsd.org/changeset/ports/336100 Log: - Add stage support - Add DOCS option - Add USE_GCC, this port uses nested functions. Modified: head/misc/terraform/Makefile Modified: head/misc/terraform/Makefile ============================================================================== --- head/misc/terraform/Makefile Tue Dec 10 19:42:41 2013 (r336099) +++ head/misc/terraform/Makefile Tue Dec 10 19:42:51 2013 (r336100) @@ -19,7 +19,8 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libtrio. WRKSRC= ${WRKDIR}/${PORTNAME} -USES= pathfix gettext gmake pkgconfig +USES= pathfix gettext gmake pkgconfig +USE_GCC= yes USE_GNOME= gnomehier libgnomeprintui libgnomeui USE_AUTOTOOLS= automake:env GNU_CONFIGURE= yes @@ -27,8 +28,7 @@ GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DOCS= DOCS post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/s| desktop-links docs | |' \ @@ -39,14 +39,12 @@ pre-configure: post-install: ${INSTALL_DATA} ${WRKSRC}/desktop-links/Terraform.desktop \ - ${PREFIX}/share/applications + ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/desktop-links/terraform.png \ - ${PREFIX}/share/pixmaps -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + ${STAGEDIR}${PREFIX}/share/pixmaps + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in FAQ.sgml README.sgml UsersGuide.sgml i18n.txt - ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312101942.rBAJgpwN088874>