diff options
author | Mark Felder <feld@FreeBSD.org> | 2014-03-17 00:06:34 +0000 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2014-03-17 00:06:34 +0000 |
commit | c63136b5fef1e82464a00adfa30b7e18a7991eee (patch) | |
tree | c39c5929f80ee92a0660bc0a968ecd2c78fb8d3d /mail/roundcube-login_info | |
parent | d8057eeaddd8aad346e77dec4fc1db9a5d32c5c8 (diff) | |
download | ports-c63136b5fef1e82464a00adfa30b7e18a7991eee.tar.gz ports-c63136b5fef1e82464a00adfa30b7e18a7991eee.zip |
Notes
Diffstat (limited to 'mail/roundcube-login_info')
-rw-r--r-- | mail/roundcube-login_info/Makefile | 20 | ||||
-rw-r--r-- | mail/roundcube-login_info/pkg-plist | 10 |
2 files changed, 11 insertions, 19 deletions
diff --git a/mail/roundcube-login_info/Makefile b/mail/roundcube-login_info/Makefile index 339b84d0ecf3..300b72269798 100644 --- a/mail/roundcube-login_info/Makefile +++ b/mail/roundcube-login_info/Makefile @@ -18,22 +18,14 @@ RUN_DEPENDS= roundcube>=0.5:${PORTSDIR}/mail/roundcube NO_BUILD= yes -WWWDIR= ${PREFIX}/www/roundcube/plugins/login_info +WWWDIR= ${LOCALBASE}/www/roundcube +PLUGDIR= ${WWWDIR}/plugins/login_info +PLIST_SUB+= PLUGDIR="www/roundcube/plugins/login_info" WRKSRC= ${WRKDIR}/login_info -# This target is only meant to be used by the port maintainer. -x-generate-plist: build - cd ${WRKSRC}; \ - ${FIND} . ! -type d ! -name '*.orig' | ${SORT} | \ - ${SED} -e "s,^\.,%%WWWDIR%%," >${.CURDIR}/pkg-plist.tmp ; \ - ${FIND} . -type d | ${SORT} -r | ${SED} \ - -e "s,^\.$$,@dirrmtry %%WWWDIR%%," \ - -e "s,^\.,@dirrm %%WWWDIR%%," >>${.CURDIR}/pkg-plist.tmp - -NO_STAGE= yes do-install: - @${ECHO} "Installing in ${WWWDIR}" - ${MKDIR} ${WWWDIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR} + @${ECHO} "Installing in ${PLUGDIR}" + ${MKDIR} ${STAGEDIR}/${PLUGDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${PLUGDIR} .include <bsd.port.mk> diff --git a/mail/roundcube-login_info/pkg-plist b/mail/roundcube-login_info/pkg-plist index 3ab6da940157..7ae06c6907a5 100644 --- a/mail/roundcube-login_info/pkg-plist +++ b/mail/roundcube-login_info/pkg-plist @@ -1,5 +1,5 @@ -%%WWWDIR%%/CAcert-ssl-security.png -%%WWWDIR%%/README -%%WWWDIR%%/config.inc.php.dist -%%WWWDIR%%/login_info.php -@dirrmtry %%WWWDIR%% +%%PLUGDIR%%/CAcert-ssl-security.png +%%PLUGDIR%%/README +%%PLUGDIR%%/config.inc.php.dist +%%PLUGDIR%%/login_info.php +@dirrmtry %%PLUGDIR%% |