summaryrefslogtreecommitdiff
path: root/www/matcha-sns
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-11-25 12:54:07 +0000
committerjperkin <jperkin>2015-11-25 12:54:07 +0000
commit9f0b1972f1be25d144a66417ea8733aca7da5ec8 (patch)
tree0831868f640a00b03f9735154dc4a2a571696079 /www/matcha-sns
parente33c78e9836daf378dcedca5517ee8ad40850284 (diff)
downloadpkgsrc-9f0b1972f1be25d144a66417ea8733aca7da5ec8.tar.gz
Remove mk/find-prefix.mk usage from the www category.
The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
Diffstat (limited to 'www/matcha-sns')
-rw-r--r--www/matcha-sns/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/www/matcha-sns/Makefile b/www/matcha-sns/Makefile
index 192678db367..741fe6b7147 100644
--- a/www/matcha-sns/Makefile
+++ b/www/matcha-sns/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2015/10/12 10:29:48 ryoon Exp $
+# $NetBSD: Makefile,v 1.3 2015/11/25 12:54:07 jperkin Exp $
#
DISTNAME= matcha-sns-1.3.7
@@ -42,12 +42,9 @@ FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
REPLACE_SH= cake/console/cake
-FIND_PREFIX:= PHPDIR=php
-.include "../../mk/find-prefix.mk"
-
REPLACE_INTERPRETER+= php
REPLACE.php.old= /usr/bin/php
-REPLACE.php.new= ${PHPDIR}/bin/php
+REPLACE.php.new= ${LOCALBASE}/bin/php
REPLACE_FILES.php= cake/console/cake.php
CONF_FILES_PERMS= ${PREFIX}/share/matcha-sns/app/config/core.php-dist \