1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

www/homer: general improvements

- set DIST_SUBDIR to not have a clash with same distfile name
	- drop GH variables and hardcode them in MASTER_SITES
	- move to homer-web following Arch naming
This commit is contained in:
Dries Michiels 2023-11-01 01:43:54 +01:00
parent eb23442fdb
commit 103e5c70d7
7 changed files with 13 additions and 10 deletions

1
MOVED
View File

@ -7953,3 +7953,4 @@ multimedia/subsync|multimedia/ffsubsync|2023-10-22|Project was renamed
dns/libasr-devel||2023-10-25|Has expired: libasr will be maintained only as part of OpenSMTPD
dns/libasr||2023-10-25|Has expired: libasr will be maintained only as part of OpenSMTPD
textproc/xalan-c||2023-10-28|Has expired: Upstream no longer continuing; please consider textproc/libxslt, textproc/qt5-xmlpatterns or SaxonC as potential alternatives
www/homer|www/homer-web|2023-11-01|Rename port to be consistent with Arch

View File

@ -246,7 +246,7 @@
SUBDIR += hedgedoc
SUBDIR += hiawatha
SUBDIR += hiawatha-monitor
SUBDIR += homer
SUBDIR += homer-web
SUBDIR += hotcrp
SUBDIR += hs-DAV
SUBDIR += hs-gitit

View File

@ -1,10 +1,12 @@
PORTNAME= homer
DISTVERSIONPREFIX= v
DISTVERSION= 23.10.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${GH_TAGNAME}/
MASTER_SITES= https://github.com/bastienwirtz/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
PKGNAMESUFFIX= -web
DISTNAME= homer
DIST_SUBDIR= ${PORTNAME}-${DISTVERSION}
MAINTAINER= driesm@FreeBSD.org
COMMENT= Dead simple static HOMepage for your servER
@ -13,8 +15,6 @@ WWW= https://github.com/bastienwirtz/homer
LICENSE= APACHE20
USES= zip
USE_GITHUB= nodefault
GH_ACCOUNT= bastienwirtz
NO_ARCH= YES
NO_BUILD= YES
@ -27,6 +27,8 @@ do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}/resources
cd ${WRKDIR}/resources && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/resources
${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKDIR}/assets/config.yml.dist \
${STAGEDIR}${ETCDIR}/config.yml.dist
${INSTALL_DATA} ${WRKDIR}/assets/config.yml.dist \
${STAGEDIR}${ETCDIR}/config.yml

3
www/homer-web/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1698800278
SHA256 (homer-23.10.1/homer.zip) = 779b5d30464318cf78d6139fa30175c8d4b1cac0436bc61e0f1c212db7e17744
SIZE (homer-23.10.1/homer.zip) = 981887

View File

@ -1,8 +1,8 @@
@dir %%ETCDIR%%
@sample %%ETCDIR%%/config.yml.dist %%ETCDIR%%/config.yml
%%WWWDIR%%/assets/additional-page.yml.dist
%%WWWDIR%%/assets/config-demo.yml.dist
%%WWWDIR%%/assets/config.yml
@sample %%WWWDIR%%/assets/config.yml.dist %%ETCDIR%%/config.yml
%%WWWDIR%%/assets/config.yml.dist
%%WWWDIR%%/assets/config.yml.dist.sample-sui
%%WWWDIR%%/assets/custom.css.sample
%%WWWDIR%%/assets/icons/README.md

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1698680943
SHA256 (homer.zip) = 779b5d30464318cf78d6139fa30175c8d4b1cac0436bc61e0f1c212db7e17744
SIZE (homer.zip) = 981887