summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2022-11-03 07:45:59 +0000
committertaca <taca@pkgsrc.org>2022-11-03 07:45:59 +0000
commit25d24d5e1cba7f7cffb347e4c59f3f68da15bd80 (patch)
tree2cdb462f5bd4382875178a1ddb86d522a0aba634 /security
parent76dd4505c67044327eb0c0f54126a8294e2ba65d (diff)
downloadpkgsrc-25d24d5e1cba7f7cffb347e4c59f3f68da15bd80.tar.gz
security/pear-Crypt_GPG: utilize REPLACE_PHP
Instead of using own REPLACE_INTERPRETER, use REPLACE_PHP.
Diffstat (limited to 'security')
-rw-r--r--security/pear-Crypt_GPG/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/security/pear-Crypt_GPG/Makefile b/security/pear-Crypt_GPG/Makefile
index 08ed3dc9d7c..d92b74c1979 100644
--- a/security/pear-Crypt_GPG/Makefile
+++ b/security/pear-Crypt_GPG/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/07/30 14:50:01 taca Exp $
+# $NetBSD: Makefile,v 1.13 2022/11/03 07:45:59 taca Exp $
DISTNAME= Crypt_GPG-1.6.7
PKGREVISION= 1
@@ -11,11 +11,8 @@ LICENSE= gnu-lgpl-v2.1
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=${PHP_VERSION}:../../converters/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-pear-Console_CommandLine>=1.1.10:../../devel/pear-Console_CommandLine
-# maybe resides in lang/php/phpversion.mk
-REPLACE_INTERPRETER+= php
-REPLACE.php.old= .*php[^ ]*
-REPLACE.php.new= ${PREFIX}/bin/php
-REPLACE_FILES.php= scripts/crypt-gpg-pinentry
+REPLACE_PHP+= scripts/crypt-gpg-pinentry
+.include "../../lang/php/replace.mk"
.include "../../lang/php/pear.mk"
.include "../../mk/bsd.pkg.mk"