42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# Ports collection makefile for: horde4-template
|
|
# Date created: THU May 26, 2011
|
|
# Whom: Beech Rintoul <beech@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= template
|
|
PORTVERSION= 1.0.0
|
|
DISTVERSIONPREFIX=
|
|
DISTVERSIONSUFFIX=
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://pear.horde.org/get/ \
|
|
LOCAL/beech
|
|
PKGNAMEPREFIX= horde4-
|
|
DISTNAME= Horde_Template-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= beech@FreeBSD.org
|
|
COMMENT= Horde Template system
|
|
|
|
BROKEN= Rewrite in progress
|
|
USE_HORDE= base
|
|
USE_GETTEXT= yes
|
|
TEMDIR= Template
|
|
HORDIR+= ${HORBAS}${TEMDIR:S|^|/|:S|/horde||}
|
|
|
|
post-extract:
|
|
@${MKDIR} ${WRKSRC}/config && touch ${WRKSRC}/config/placeholder.dist
|
|
|
|
do-install:
|
|
@${CP} ${WRKSRC}/lib/Horde/Template.php ${HORBAS}/
|
|
@${ECHO_CMD} @exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} %D/${HORDIR:S|^${PREFIX}/||}/ >> ${TMPPLIST}
|
|
@${ECHO_CMD} @exec ${CHMOD} -R o-rwx %D/${HORDIR:S|^${PREFIX}/||}/ >> ${TMPPLIST}
|
|
@${ECHO_CMD} "@exec ${TOUCH} ${HORLOG};${CHOWN} ${WWWOWN}:${WWWGRP} ${HORLOG}" >> ${TMPPLIST}
|
|
|
|
@${ECHO_MSG}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO_MSG}
|
|
|
|
.include "${.CURDIR}/../../www/horde4-base/bsd.horde4.mk"
|
|
.include <bsd.port.mk>
|