mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support STAGE
This commit is contained in:
parent
d8057eeadd
commit
c63136b5fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348438
@ -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>
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user