freebsd-ports/www/yourls/Makefile
Sunpoet Po-Chuan Hsieh 6a35ad7610 Update to 1.7.2
- Fix LICENSE
- Add LICENSE_FILE
- Add USES=php
- Use = instead of += for SUB_FILES
- Update PKGMESSAGE
- Update pkg-descr
- Update WWW
- Take maintainership

Changes:	https://github.com/YOURLS/YOURLS/releases
2017-05-06 11:17:40 +00:00

41 lines
852 B
Makefile

# Created by: Joe Horn <joehorn@gmail.com>
# $FreeBSD$
PORTNAME= yourls
PORTVERSION= 1.7.2
CATEGORIES= www
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Your Own URL Shortener
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
NO_ARCH= yes
NO_BUILD= yes
USE_PHP= bcmath curl json mysqli pcre xml
USES= cpe php
SUB_FILES= pkg-message
GH_ACCOUNT= ${PORTNAME:tu}
GH_PROJECT= ${PORTNAME:tu}
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>