blob: bb9f4fbeeec1440235079bd3506311c9fc258a4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= terraform
PORTVERSION= 0.9.5
DISTVERSIONPREFIX= src-
PORTREVISION= 2
CATEGORIES= misc gnome
MASTER_SITES= GOOGLE_CODE
EXTRACT_SUFX= .tgz
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
USE_GCC= yes
USE_GNOME= gnomehier libgnomeprintui libgnomeui
USE_AUTOTOOLS= automake:env
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DOCS= 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>
|