aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libgta/Makefile
blob: a46e01eb59ea6c0df3f1dce175219a2411ccf9fe (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
# New ports collection makefile for:    libgta
# Date created:     2012-06-10
# Whom:         lbartoletti <coder@tuxfamily.org>
#
# $FreeBSD$
#

PORTNAME=   libgta
PORTVERSION=    1.0.2
CATEGORIES= devel
MASTER_SITES=   SAVANNAH/gta

MAINTAINER= coder@tuxfamily.org
COMMENT=    Libgta is a portable library that implements the GTA file format

OPTIONS_DEFINE= DOCS

USE_XZ=     yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack
USE_LDCONFIG=   yes

.include <bsd.port.options.mk>

post-patch:
.if empty(PORT_OPTIONS:MDOCS)
    @${REINPLACE_CMD} -e '/^SUBDIRS = / s|doc||' ${WRKSRC}/Makefile.in
.endif

regression-test test: build
    cd ${WRKSR}/ && ${SETENV} ${MAKE_ENV} ${MAKE} check

.include <bsd.port.mk>