mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# New ports collection makefile for: twig
|
|
# Date created: 12 Jun 2002
|
|
# Whom: dirk.meyer@dinoex.sub.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= twig
|
|
PORTVERSION= 2.8.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= www mail
|
|
MASTER_SITES= http://informationgateway.org/download/ \
|
|
ftp://ftp.informationgateway.org/pub/
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= Web Based Email Client and Scheduler
|
|
|
|
.if !defined(WITHOUT_PHP_DEPENDS)
|
|
USE_PHP= ctype imap openssl pgsql pcre posix session tokenizer xml zlib
|
|
.endif
|
|
|
|
NO_BUILD= YES
|
|
TWIG?= www/twig
|
|
PLIST_SUB+= TWIG=${TWIG}
|
|
ROOTFILES= index.php test.php goto.php
|
|
CONFFILES= .htaccess mailfooter.inc.php3.sample
|
|
USERFILES= announcements.inc.php3 config.inc.php3 dbconfig.inc.php3 \
|
|
defaults.inc.php3 footer.inc.php3 header.inc.php3 \
|
|
images.inc.php3 login.footer.inc.php3 login.form.php3 \
|
|
login.header.inc.php3 mainmenu.inc.php3 newusergroups.inc.php3
|
|
|
|
do-install:
|
|
-${MKDIR} ${PREFIX}/${TWIG}/config
|
|
@(cd ${WRKSRC} && ${CP} ${ROOTFILES} ${PREFIX}/${TWIG}/ )
|
|
@(cd ${WRKSRC} && ${CP} -R features ${PREFIX}/${TWIG}/ )
|
|
@(cd ${WRKSRC} && ${CP} -R images ${PREFIX}/${TWIG}/ )
|
|
@(cd ${WRKSRC} && ${CP} -R lib ${PREFIX}/${TWIG}/ )
|
|
@(cd ${WRKSRC}/config && ${CP} ${CONFFILES} ${PREFIX}/${TWIG}/config/ )
|
|
.for i in ${USERFILES}
|
|
@${CP} ${WRKSRC}/config/${i} ${PREFIX}/${TWIG}/config/${i}-dist
|
|
@if test ! -f ${PREFIX}/${TWIG}/config/${i} ; then \
|
|
${CP} ${WRKSRC}/config/${i} ${PREFIX}/${TWIG}/config/${i}; \
|
|
fi
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|