334eb0fc61
If a port used other USE_GNOME items it was untouched. The ports that used other USES were fixed by hand. PR: ports/177081 Reviewed by: bapt Approved by: portmgr (miwi)
40 lines
844 B
Makefile
40 lines
844 B
Makefile
# 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
|
|
USES= pathfix
|
|
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.pre.mk>
|
|
|
|
.if (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505
|
|
LIB_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|