svn commit: r336100 - head/misc/terraform

Danilo Egea Gondolfo danilo at FreeBSD.org
Tue Dec 10 19:42:52 UTC 2013


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>


More information about the svn-ports-head mailing list