# $FreeBSD$ PORTNAME= twig PORTVERSION= 2.8.3 PORTREVISION= 2 CATEGORIES= www mail MASTER_SITES= ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/ MAINTAINER= ports@FreeBSD.org COMMENT= Web Based Email Client and Scheduler LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING .if !defined(WITHOUT_PHP_DEPENDS) USE_PHP= ctype imap openssl pgsql pcre posix session tokenizer xml zlib .endif NO_BUILD= yes USES= shebangfix SHEBANG_FILES= features/schedule/reminders.php3 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 TWIG?= www/twig do-install: -${MKDIR} ${STAGEDIR}${PREFIX}/${TWIG}/config (cd ${WRKSRC} && ${CP} ${ROOTFILES} ${STAGEDIR}${PREFIX}/${TWIG}/ ) (cd ${WRKSRC} && ${CP} -R features ${STAGEDIR}${PREFIX}/${TWIG}/ ) (cd ${WRKSRC} && ${CP} -R images ${STAGEDIR}${PREFIX}/${TWIG}/ ) (cd ${WRKSRC} && ${CP} -R lib ${STAGEDIR}${PREFIX}/${TWIG}/ ) (cd ${WRKSRC}/config && ${CP} ${CONFFILES} ${STAGEDIR}${PREFIX}/${TWIG}/config/ ) .for i in ${USERFILES} ${CP} ${WRKSRC}/config/${i} ${STAGEDIR}${PREFIX}/${TWIG}/config/${i}-dist .endfor .include