summaryrefslogtreecommitdiff
path: root/www/php-phrasea2/Makefile
blob: 08041d3f58959a9f7d0b5c020bbcfdd24634036b (plain)
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
# $NetBSD: Makefile,v 1.10 2013/04/06 13:02:33 rodent Exp $
#

.include "../../www/phraseanet/Makefile.common"

MODNAME=		phrasea2
PKGREVISION=		2
PECL_VERSION=		${VERS}
PECL_LEGACY_VERSION_SCHEME=	yes
EXTRACT_ELEMENTS=	${DISTNAME}/bin/src/php_phrasea2
EXTRACT_SUFX=		.tar.gz
USE_LANGUAGES=		c c++

.include "../../lang/php/ext.mk"

# php/ext.mk trashes these, preventing the package from building,
# so set them back again afterwards. grr
DISTNAME=	phraseanet-v${VERS}-linux
DIST_SUBDIR=	#empty

# This seems to now be needed though it wasn't before...
WRKSRC=${WRKDIR}/${DISTNAME}/bin/src/php_phrasea2

.include "../../mk/mysql.buildlink3.mk"
.include "../../devel/libuuid/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"