aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-12-11 03:42:51 +0800
committerdanilo <danilo@FreeBSD.org>2013-12-11 03:42:51 +0800
commit8ef1d70e522642686de32e45f40964fa8a922297 (patch)
treedc60d0997e33d3e812570d8ffdc2b9f6ccc2abd9 /misc
parent49a46502ec74c83a9f39a18f427efa11f5d4347a (diff)
downloadfreebsd-ports-gnome-8ef1d70e522642686de32e45f40964fa8a922297.tar.gz
freebsd-ports-gnome-8ef1d70e522642686de32e45f40964fa8a922297.tar.zst
freebsd-ports-gnome-8ef1d70e522642686de32e45f40964fa8a922297.zip
- Add stage support
- Add DOCS option - Add USE_GCC, this port uses nested functions.
Diffstat (limited to 'misc')
-rw-r--r--misc/terraform/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/misc/terraform/Makefile b/misc/terraform/Makefile
index 12a009ef6def..d90e61da8b09 100644
--- a/misc/terraform/Makefile
+++ b/misc/terraform/Makefile
@@ -19,7 +19,8 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libtrio.a:${PORTSDIR}/devel/trio
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>