freebsd-ports/www/repos-style/Makefile
Steve Wills 149ba7338a Unmark broken on powerpc64
These ports built successfully
2016-09-15 01:41:28 +00:00

37 lines
840 B
Makefile

# Created by: Alexander Kriventsov
# $FreeBSD$
PORTNAME= repos-style
PORTVERSION= 2.0
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= avk@vl.ru
COMMENT= Stylesheet for the Subversion index web page
RUN_DEPENDS= subversion>=0:devel/subversion
USES= dos2unix zip
DOS2UNIX_GLOB= *.xsl *.php
NO_BUILD= YES
USE_PHP= xml
WANT_PHP_WEB= yes
WRKSRC= ${WRKDIR}/repos-web
SUB_LIST+= PORTNAME=${PORTNAME}
SUB_FILES+= pkg-message
pre-install:
# Prevent installation of .orig files by deleting them.
@${FIND} ${WRKSRC} -name '*.orig' -delete
${MV} ${WRKSRC}/open/log/index.php ${WRKSRC}/open/log/index.dist.php
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
@(cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>