1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/www/webtrees/Makefile
Mathieu Arnold 00d52a3e4c Remove useless WRKSRC definitions.
While there, correct DEV_WARNINGS when they occur.

Sponsored by:	Absolight
2016-05-25 15:43:34 +00:00

36 lines
1.1 KiB
Makefile

# Created by: J.R. Oldroyd <fbsd@opal.com>
# $FreeBSD$
PORTNAME= webtrees
PORTVERSION= 1.6.2
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://launchpad.net/${PORTNAME}/${PORTVERSION:C/\.[0-9]*$//}/${PORTVERSION}/+download/
MAINTAINER= fbsd@opal.com
COMMENT= Online genealogy viewer
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
USES= cpe shebangfix zip:infozip
SHEBANG_FILES= webtrees/library/bombayworks/zendframework1/puppet/scripts/php-build.sh \
webtrees/library/ezyang/htmlpurifier/maintenance/*.php \
webtrees/library/ezyang/htmlpurifier/maintenance/*.sh \
webtrees/library/tecnick.com/tcpdf/tools/tcpdf_addfont.php
USE_PHP= calendar dom filter gd pcre pdo_mysql session simplexml xml
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message pkg-deinstall
do-install:
-${MKDIR} ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_BIN} . ${STAGEDIR}${WWWDIR}
@(cd ${WRKSRC}/${PORTNAME}; ${FIND} . -not -type d) | ${SORT} | \
${SED} -ne 's,^${PORTNAME}/,${WWWDIR_REL}/,p' >> ${TMPPLIST}
@${ECHO_CMD} \
'@exec chown -R ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/data' \
>> ${TMPPLIST}
.include <bsd.port.mk>