diff options
author | dinoex <dinoex@FreeBSD.org> | 2013-12-07 13:05:32 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2013-12-07 13:05:32 +0800 |
commit | e0f060acaff190be391006ec0617c48087206b0a (patch) | |
tree | e030262708f2dfeba3a48d44869b55c43fee05b0 | |
parent | 0bfe88f55c236c78cc9541fdd7ca3f6ced8afb4c (diff) | |
download | freebsd-ports-gnome-e0f060acaff190be391006ec0617c48087206b0a.tar.gz freebsd-ports-gnome-e0f060acaff190be391006ec0617c48087206b0a.tar.zst freebsd-ports-gnome-e0f060acaff190be391006ec0617c48087206b0a.zip |
- add USES=shebangfix
-rw-r--r-- | www/twig/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/www/twig/Makefile b/www/twig/Makefile index 085a27b29a09..554cdefbb13b 100644 --- a/www/twig/Makefile +++ b/www/twig/Makefile @@ -15,7 +15,8 @@ USE_PHP= ctype imap openssl pgsql pcre posix session tokenizer xml zlib NO_BUILD= yes -TWIG?= www/twig +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 @@ -24,15 +25,17 @@ USERFILES= announcements.inc.php3 config.inc.php3 dbconfig.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/ ) + (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 + ${CP} ${WRKSRC}/config/${i} ${STAGEDIR}${PREFIX}/${TWIG}/config/${i}-dist .endfor .include <bsd.port.mk> |