1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/misc/terraform/Makefile
2014-12-21 00:32:19 +00:00

51 lines
1.2 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= terraform
PORTVERSION= 0.9.5
PORTREVISION= 1
DISTVERSIONPREFIX= src-
PORTREVISION= 3
CATEGORIES= misc gnome
MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive height field generation and manipulation program
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
BUILD_DEPENDS= ${LOCALBASE}/lib/libtrio.a:${PORTSDIR}/devel/trio
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= pathfix gettext gmake pkgconfig tar:tgz
USE_GCC= yes
USE_GNOME= libgnomeprintui libgnomeui
USE_AUTOTOOLS= automake:env
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/s| desktop-links docs | |' \
${WRKSRC}/Makefile.in
pre-configure:
@${LN} -sf ${AUTOMAKE_DIR}/depcomp ${WRKSRC}
post-install:
${INSTALL_DATA} ${WRKSRC}/desktop-links/Terraform.desktop \
${STAGEDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/desktop-links/terraform.png \
${STAGEDIR}${PREFIX}/share/pixmaps
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in FAQ.sgml README.sgml UsersGuide.sgml i18n.txt
${INSTALL_DATA} ${WRKSRC}/docs/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>