opnsense-ports/www/textpattern/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

29 lines
719 B
Makefile

# Created by: babak@farrokhi.net
# $FreeBSD$
PORTNAME= textpattern
PORTVERSION= 4.2.0
CATEGORIES= www
MASTER_SITES= http://textpattern.com/file_download/57/ \
http://freebsd.unixfreunde.de/sources/
MAINTAINER= miwi@FreeBSD.org
COMMENT= Free, flexible, elegant, easy-to-use content management system
NO_BUILD= YES
WANT_PHP_WEB= YES
USE_PHP= mbstring xml mysql pcre
SUB_FILES= pkg-message
do-install:
-${MKDIR} ${STAGEDIR}${WWWDIR}
@${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
create-plist:
@${FIND} -s ${WRKSRC}/${file} -not -type d \
| ${SED} -e 's,^${WRKSRC},%%WWWDIR%%,' > ${PLIST}
@${FIND} -ds ${WRKSRC}/${file} -type d \
| ${SED} -e 's,^${WRKSRC},@dirrm %%WWWDIR%%,' >> ${PLIST}
.include <bsd.port.mk>