pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
- Fix installation - Fix files permissions
Module Name: pkgsrc-wip
Committed By: youri <youri%NetBSD.org@localhost>
Pushed By: youri
Date: Mon Feb 22 15:57:52 2016 +0100
Changeset: 2a6b2d27acb1d41cae8a91cbd93c4721ca829c24
Modified Files:
phabricator/Makefile
Log Message:
- Fix installation
- Fix files permissions
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2a6b2d27acb1d41cae8a91cbd93c4721ca829c24
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
phabricator/Makefile | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diffs:
diff --git a/phabricator/Makefile b/phabricator/Makefile
index 75093b4..77a2b41 100644
--- a/phabricator/Makefile
+++ b/phabricator/Makefile
@@ -60,23 +60,25 @@ SUBST_FILES.php_env+= scripts/almanac/manage_almanac.php \
scripts/symbols/*.php \
scripts/user/*.php \
scripts/util/*.php \
- support/aphlict/server/aphlict_launcher.php
+ support/aphlict/server/aphlict_launcher.php
SUBST_SED.php_env= -e 's,/usr/bin/env php,${PREFIX}/bin/php,'
+NO_BUILD= yes
-REPLACE_PYTHON+= externals/twilio-php/docs/_themes/flask_theme_support.py \
- externals/twilio-php/docs/conf.py
+PHABRICATOR_DIR= share/phabricator
-CHECK_INTERPRETER_SKIP+= externals/wordlist/password.lst
+INSTALLATION_DIRS+= ${PHABRICATOR_DIR}
-NO_BUILD= yes
+CHECK_INTERPRETER_SKIP+=${PHABRICATOR_DIR}/externals/wordlist/password.lst
-PHABRICATOR_DIR= ${PREFIX}/share/phabricator
+CHMOD_FILES= conf LICENSE NOTICE README.md externals resources src \
+ support webroot scripts/__init_script__.php scripts/fpm/warmup.php
-AUTO_MKDIRS= yes
+post-extract:
+ cd ${WRKSRC} && ${FIND} ${CHMOD_FILES} -type f -exec ${CHMOD} -x \{\} \;
do-install:
- cd ${WRKSRC} && pax -rw -pe * ${DESTDIR}${PHABRICATOR_DIR}
+ cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${PREFIX}/${PHABRICATOR_DIR}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index