mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +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
|
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
|
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:
|
do-install:
|
||||||
@${ECHO} "Installing in ${WWWDIR}"
|
@${ECHO} "Installing in ${PLUGDIR}"
|
||||||
${MKDIR} ${WWWDIR}
|
${MKDIR} ${STAGEDIR}/${PLUGDIR}
|
||||||
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR}
|
cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${PLUGDIR}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
%%WWWDIR%%/CAcert-ssl-security.png
|
%%PLUGDIR%%/CAcert-ssl-security.png
|
||||||
%%WWWDIR%%/README
|
%%PLUGDIR%%/README
|
||||||
%%WWWDIR%%/config.inc.php.dist
|
%%PLUGDIR%%/config.inc.php.dist
|
||||||
%%WWWDIR%%/login_info.php
|
%%PLUGDIR%%/login_info.php
|
||||||
@dirrmtry %%WWWDIR%%
|
@dirrmtry %%PLUGDIR%%
|
||||||
|
Loading…
Reference in New Issue
Block a user