PORTNAME= yourls PORTVERSION= 1.9.2 CATEGORIES= www MAINTAINER= sunpoet@FreeBSD.org COMMENT= Your Own URL Shortener WWW= https://yourls.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe php USE_PHP= bcmath curl iconv pdo_mysql xml NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message GH_ACCOUNT= YOURLS GH_PROJECT= YOURLS USE_GITHUB= yes do-install: cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/ # maintainer section: MS_PLIST= ${WRKDIR}/.ms-pkg-plist genplist: do-clean extract @${ECHO_CMD} "@owner www" > ${MS_PLIST} @${ECHO_CMD} "@group www" >> ${MS_PLIST} @cd ${WRKSRC}/ && ${FIND} -s . -type f | ${SED} 's|^\.|%%WWWDIR%%|' >> ${MS_PLIST} @${ECHO_CMD} "@owner" >> ${MS_PLIST} @${ECHO_CMD} "@group" >> ${MS_PLIST} @${INSTALL} -m 600 ${MS_PLIST} ${PLIST} .include