1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/www/yourls/Makefile
2021-04-06 16:31:07 +02:00

41 lines
821 B
Makefile

# Created by: Joe Horn <joehorn@gmail.com>
PORTNAME= yourls
PORTVERSION= 1.8
CATEGORIES= www
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Your Own URL Shortener
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe php
USE_PHP= bcmath curl json mysqli pcre 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} "@owner www" > ${MS_PLIST}
@${ECHO} "@group www" >> ${MS_PLIST}
@cd ${WRKSRC}/ && ${FIND} -s . -type f | ${SED} 's|^\.|%%WWWDIR%%|' >> ${MS_PLIST}
@${ECHO} "@owner" >> ${MS_PLIST}
@${ECHO} "@group" >> ${MS_PLIST}
@${INSTALL} -m 600 ${MS_PLIST} ${PLIST}
.include <bsd.port.mk>