freebsd-ports/www/repos-style/Makefile
Martin Wilke 6bf2d1bd5d net2ftp is a web-based FTP client written in PHP
User features
 - Navigate the FTP server
 - Upload files
 - Download files
 - Zip files
 - Unzip files
 - Install software
 - Copy, move and delete
 - Copy or move to a 2nd FTP server
 - Rename and chmod
 - View code with syntax highlighting
 - Plain text editor
 - HTML editors
 - Code editor
 - Search for words or phrases
 - Calculate size

WWW: http://www.net2ftp.com/

PR:		ports/137868
Submitted by:	Alexander Kriventsov
2009-08-22 19:06:03 +00:00

45 lines
1 KiB
Makefile

# New ports collection makefile for: repos-style
# Date created: 12 Aug 2009
# Whom: Alexander Kriventsov
#
# $FreeBSD$
#
PORTNAME= repos-style
PORTVERSION= 2.0
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:${PORTSDIR}/devel/subversion
USE_ZIP= YES
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} ${WWWDIR}
@(cd ${WRKSRC} && ${PAX} -r -w . ${WWWDIR})
if [ ! -f ${WWWDIR}/open/log/index.php ]; then \
${CP} -p ${WWWDIR}/open/log/index.dist.php ${WWWDIR}/open/log/index.php; \
fi
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>