# New ports collection makefile for: vhcp # Date created: 20 June 2009 # Whom: Maxim Ignatenko # # $FreeBSD$ # PORTNAME= vhcp PORTVERSION= 1.7g2 CATEGORIES= net-p2p www MASTER_SITES= SF/${PORTNAME}/PHP%205.x/1.7g DISTNAME= vhcp_v${PORTVERSION} MAINTAINER= gelraen.ua@gmail.com COMMENT= Verlihub control panel WRKSRC= ${WRKDIR}/${PORTNAME} USE_PHP= mysql gd NO_BUILD= YES WANT_PHP_WEB= YES DEFAULT_PHP_VER= 5 VHCPDIR?= www/vhcp SUB_FILES= pkg-message SUB_LIST+= VHCPDIR=${VHCPDIR} PLIST= ${WRKDIR}/pkg-plist pre-install: @if [ -f ${WRKSRC}/config.php ]; then \ ${MV} ${WRKSRC}/config.php ${WRKSRC}/config.php.dist ; fi @cd ${WRKSRC} && \ ${ECHO_CMD} "@unexec if cmp -s %D/${VHCPDIR}/config.php.dist \ %D/${VHCPDIR}/config.php; then \ ${RM} -f %D/${VHCPDIR}/config.php; fi" > ${PLIST} && \ ${FIND} -s * -type f | \ ${SED} -e 's|^|${VHCPDIR}/|g' >> ${PLIST} && \ ${ECHO_CMD} "@exec if [ ! -f %D/${VHCPDIR}/config.php ] ; then \ ${CP} -p %D/${VHCPDIR}/config.php.dist \ %D/${VHCPDIR}/config.php; fi" >> ${PLIST} && \ ${FIND} -d * -type d | \ ${SED} -e 's|^|@dirrm ${VHCPDIR}/|g' >> ${PLIST} && \ ${ECHO_CMD} @dirrm ${VHCPDIR} >> ${PLIST} do-install: -@${MKDIR} ${PREFIX}/${VHCPDIR} @${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${VHCPDIR} @${CHMOD} 755 ${PREFIX}/${VHCPDIR} @${CP} -R ${WRKSRC}/ ${PREFIX}/${VHCPDIR} if [ ! -f ${PREFIX}/${VHCPDIR}/config.php ]; then \ ${CP} ${PREFIX}/${VHCPDIR}/config.php.dist \ ${PREFIX}/${VHCPDIR}/config.php ; \ fi post-install: @${CAT} ${PKGMESSAGE} .include bot/npm_and_yarn/devel/electron4/files/bl-1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/news/cleanfeed
Commit message (Expand)AuthorAgeFilesLines
* - Update to recent cleanfeed release by Steve Crook (2. June)johans2010-06-044-15/+36
* - lang/perl5.6 is dead, remove PERL_LEVEL/PERL_VERSION < 500801 checkspgollucci2009-07-231-7/+1
* Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.linimon2007-09-081-0/+1
* Remove USE_REINPLACE from all categories starting with Nedwin2006-05-121-1/+0
* - Add SHA256pav2005-11-26