mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Add staging support.
- Do not mute install commands.
This commit is contained in:
parent
2585b0fcc0
commit
6fe29eef01
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329460
1 changed files with 3 additions and 7 deletions
|
@ -15,7 +15,6 @@ RUN_DEPENDS= ${LOCALBASE}/lib/webmin/webmin-init:${PORTSDIR}/sysutils/webmin
|
|||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/virtual-server
|
||||
|
||||
NO_STAGE= yes
|
||||
post-extract:
|
||||
@${RM} -r ${WRKSRC}/images/.xvpics
|
||||
@${FIND} ${WRKSRC} -name "*.swp" -delete
|
||||
|
@ -25,11 +24,8 @@ post-extract:
|
|||
@${FIND} ${WRKSRC} -type d -empty | ${XARGS} ${RMDIR}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/lib/webmin
|
||||
@${MKDIR} ${PREFIX}/etc/webmin/virtual-server
|
||||
@${CP} -r ${WRKSRC} ${PREFIX}/lib/webmin
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/webmin
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/webmin/virtual-server
|
||||
${CP} -r ${WRKSRC} ${STAGEDIR}${PREFIX}/lib/webmin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue