pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time/php-framadate
Module Name: pkgsrc
Committed By: wiz
Date: Sun Jan 26 18:02:50 UTC 2025
Modified Files:
pkgsrc/time/php-framadate: Makefile PLIST
Log Message:
php-framadate: do not install .git files
Also, make sure composer has a HOME directory to work in.
TODO: this should not run composer at build time. This downloads
files from the Internet - these should be downloaded before by the
pkgsrc framework instead.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/time/php-framadate/Makefile \
pkgsrc/time/php-framadate/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/time/php-framadate/Makefile
diff -u pkgsrc/time/php-framadate/Makefile:1.1 pkgsrc/time/php-framadate/Makefile:1.2
--- pkgsrc/time/php-framadate/Makefile:1.1 Thu Jan 23 15:47:16 2025
+++ pkgsrc/time/php-framadate/Makefile Sun Jan 26 18:02:49 2025
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2025/01/23 15:47:16 manu Exp $
+# $NetBSD: Makefile,v 1.2 2025/01/26 18:02:49 wiz Exp $
DISTNAME= framadate-1.1.19
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= time www
MASTER_SITES= https://framagit.org/framasoft/framadate/framadate/-/archive/1.1.19/
EXTRACT_SUFX= .tar.bz2
@@ -44,7 +45,7 @@ MAKE_DIRS_PERMS+= ${WWWDIR}/app/inc ${AP
INSTALLATION_DIRS+= ${DOCDIR} ${WWWDIR}
do-build:
- cd ${WRKSRC} && composer update
+ cd ${WRKSRC} && ${SETENV} COMPOSER_HOME=${WRKDIR}/composer composer update
cd ${WRKSRC} && ${CHMOD} -R og-w .
${GREP} -rl '^#!/usr/bin/env' ${WRKSRC}/vendor | while read f ; do \
${CP} $$f $$f.orig && \
@@ -64,6 +65,7 @@ do-install:
done
cd ${WRKSRC} && ${FIND} ${WWW_DIRS} *.php robots.txt -print | \
${PAX} -rw -pmp ${DESTDIR}${PREFIX}/${WWWDIR}
+ ${RM} -rf ${DESTDIR}${PREFIX}/share/framadate/vendor/o80/i18n/.git
${INSTALL_DATA} ${WRKSRC}/htaccess.txt \
${DESTDIR}${PREFIX}/${WWWDIR}/.htaccess
Index: pkgsrc/time/php-framadate/PLIST
diff -u pkgsrc/time/php-framadate/PLIST:1.1 pkgsrc/time/php-framadate/PLIST:1.2
--- pkgsrc/time/php-framadate/PLIST:1.1 Thu Jan 23 15:47:16 2025
+++ pkgsrc/time/php-framadate/PLIST Sun Jan 26 18:02:49 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2025/01/23 15:47:16 manu Exp $
+@comment $NetBSD: PLIST,v 1.2 2025/01/26 18:02:49 wiz Exp $
share/doc/framadate/AUTHORS.md
share/doc/framadate/CHANGELOG.md
share/doc/framadate/INSTALL.md
@@ -1472,31 +1472,6 @@ share/framadate/vendor/nikic/php-parser/
share/framadate/vendor/nikic/php-parser/lib/PhpParser/ParserFactory.php
share/framadate/vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php
share/framadate/vendor/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php
-share/framadate/vendor/o80/i18n/.git/HEAD
-share/framadate/vendor/o80/i18n/.git/ORIG_HEAD
-share/framadate/vendor/o80/i18n/.git/config
-share/framadate/vendor/o80/i18n/.git/description
-share/framadate/vendor/o80/i18n/.git/hooks/applypatch-msg.sample
-share/framadate/vendor/o80/i18n/.git/hooks/commit-msg.sample
-share/framadate/vendor/o80/i18n/.git/hooks/post-update.sample
-share/framadate/vendor/o80/i18n/.git/hooks/pre-applypatch.sample
-share/framadate/vendor/o80/i18n/.git/hooks/pre-commit.sample
-share/framadate/vendor/o80/i18n/.git/hooks/pre-rebase.sample
-share/framadate/vendor/o80/i18n/.git/hooks/prepare-commit-msg.sample
-share/framadate/vendor/o80/i18n/.git/hooks/update.sample
-share/framadate/vendor/o80/i18n/.git/index
-share/framadate/vendor/o80/i18n/.git/info/exclude
-share/framadate/vendor/o80/i18n/.git/info/refs
-share/framadate/vendor/o80/i18n/.git/logs/HEAD
-share/framadate/vendor/o80/i18n/.git/logs/refs/heads/develop
-share/framadate/vendor/o80/i18n/.git/logs/refs/remotes/origin/HEAD
-share/framadate/vendor/o80/i18n/.git/objects/info/packs
-share/framadate/vendor/o80/i18n/.git/objects/pack/pack-741268c77b65b5fe2801b3b014e0b284771052a2.idx
-share/framadate/vendor/o80/i18n/.git/objects/pack/pack-741268c77b65b5fe2801b3b014e0b284771052a2.pack
-share/framadate/vendor/o80/i18n/.git/objects/pack/pack-741268c77b65b5fe2801b3b014e0b284771052a2.rev
-share/framadate/vendor/o80/i18n/.git/packed-refs
-share/framadate/vendor/o80/i18n/.git/refs/heads/develop
-share/framadate/vendor/o80/i18n/.git/refs/remotes/origin/HEAD
share/framadate/vendor/o80/i18n/.gitignore
share/framadate/vendor/o80/i18n/.gitlab-ci.yml
share/framadate/vendor/o80/i18n/.php-cs-fixer.dist.php
Home |
Main Index |
Thread Index |
Old Index