PORTNAME= homer DISTVERSIONPREFIX= v DISTVERSION= 24.05.1 CATEGORIES= www 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 WWW= https://github.com/bastienwirtz/homer LICENSE= APACHE20 USES= zip NO_ARCH= YES NO_BUILD= YES do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${CP} -a ${WRKDIR}/*.js ${WRKDIR}/logo.png ${WRKDIR}/index.html ${STAGEDIR}${WWWDIR} ${MKDIR} ${STAGEDIR}${WWWDIR}/assets cd ${WRKDIR}/assets && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/assets ${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 post-install: ${RLN} ${STAGEDIR}${ETCDIR}/config.yml ${STAGEDIR}${WWWDIR}/assets/config.yml .include