diff options
author | taca <taca@pkgsrc.org> | 2019-12-16 15:58:18 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2019-12-16 15:58:18 +0000 |
commit | 6c3cf54443a8cb09226feed812b18b9bf45db03c (patch) | |
tree | 49f6e9107d0a1d17a84f32b410ac15f206c70b3e /lang/php72/Makefile | |
parent | 7b26d3a13df05f2d23a6a0ffa4b2c69a18477a89 (diff) | |
download | pkgsrc-6c3cf54443a8cb09226feed812b18b9bf45db03c.tar.gz |
lang/php*: clean up php langauges
Clean up php languages.
* Clean up php/phpversions.mk a little.
* Add php/replace.mk to provide common shebang line replace for PHP.
* Define USE_TOOLS before including <bsd.prefs.mk>.
* Fix most warnings of pkglint.
No functional change should be done.
Diffstat (limited to 'lang/php72/Makefile')
-rw-r--r-- | lang/php72/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/php72/Makefile b/lang/php72/Makefile index 6a203b2a82f..69431933530 100644 --- a/lang/php72/Makefile +++ b/lang/php72/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2019/10/02 14:05:22 taca Exp $ +# $NetBSD: Makefile,v 1.22 2019/12/16 15:58:18 taca Exp $ # # We can't omit PKGNAME here to handle PKG_OPTIONS. @@ -28,6 +28,8 @@ MAKE_ENV+= INSTALL_ROOT=${DESTDIR} CONF_FILES= ${EGDIR}/php.ini-production ${PKG_SYSCONFDIR}/php.ini PLIST_SUBST+= PHPEXTDIR="${PHP_EXTENSION_DIR}" +REPLACE_PHP= ext/phar/phar/phar.php run-tests.php + SUBST_CLASSES+= path SUBST_MESSAGE.path= Fixing common paths. SUBST_STAGE.path= pre-configure @@ -59,4 +61,5 @@ post-install: ${DESTDIR}${EGDIR} ${INSTALL_DATA} ${WRKSRC}/php.gif ${DESTDIR}${PREFIX}/share/php +.include "../../lang/php/replace.mk" .include "../../mk/bsd.pkg.mk" |