pkgsrc/www/php-phrasea2/Makefile
2021-06-23 20:33:06 +00:00

33 lines
964 B
Makefile

# $NetBSD: Makefile,v 1.16 2021/06/23 20:33:18 nia Exp $
#
.include "../../www/phraseanet/Makefile.common"
MODNAME= phrasea2
PKGREVISION= 3
PECL_VERSION= ${VERS}
PECL_LEGACY_VERSION_SCHEME= yes
EXTRACT_ELEMENTS= ${DISTNAME}/bin/src/php_phrasea2
EXTRACT_SUFX= .tar.gz
USE_LANGUAGES= c c++
PHP_VERSIONS_ACCEPTED= 56
.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
# The package's config.mk sets CC=g++, which is a bit unorthodox and
# confuses libtool, which can't deduce the tagged configuration if
# pkgsrc's idea of CXX is something other than g++.
MAKE_FLAGS+= CC=${CXX}
# 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"