diff options
author | feld <feld@FreeBSD.org> | 2013-11-03 00:45:44 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2013-11-03 00:45:44 +0800 |
commit | 614fe27e1ac0c55c93f09ce4f0c788bc8e615c89 (patch) | |
tree | a0ebd893e2b293eae38056a7f16ad03039d75323 | |
parent | 8522fdacb3f04c4441f88229840bb75744d49dbc (diff) | |
download | freebsd-ports-gnome-614fe27e1ac0c55c93f09ce4f0c788bc8e615c89.tar.gz freebsd-ports-gnome-614fe27e1ac0c55c93f09ce4f0c788bc8e615c89.tar.zst freebsd-ports-gnome-614fe27e1ac0c55c93f09ce4f0c788bc8e615c89.zip |
Support STAGE
PR: ports/183208
Approved by: swills (mentor, implicit)
-rw-r--r-- | security/sguil-client/Makefile | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/security/sguil-client/Makefile b/security/sguil-client/Makefile index 7fc889f3d00b..65e696703b7e 100644 --- a/security/sguil-client/Makefile +++ b/security/sguil-client/Makefile @@ -29,7 +29,6 @@ SANCP_DESC= Use sancp WIRESHARK_DESC= Install wireshark NO_BUILD= yes -NO_STAGE= yes USES= tk:wrapper WRKSRC= ${WRKDIR}/sguil-${PORTVERSION} SUB_LIST= SGUILDIR=${SGUILDIR} @@ -58,31 +57,27 @@ RUN_DEPENDS+= wireshark:${PORTSDIR}/net/wireshark .endif do-install: - @${MKDIR} ${PREFIX}/bin/${SGUILDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/bin/${SGUILDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_SCRIPT} -m 751 ${WRKSRC}/client/sguil.tk \ - ${PREFIX}/bin/${SGUILDIR}/sguil.tk + ${STAGEDIR}${PREFIX}/bin/${SGUILDIR}/sguil.tk + ${INSTALL_DATA} ${PORTDOCS1:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS2:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} .for f in sguil.conf ${INSTALL_DATA} ${WRKSRC}/client/${f} \ - ${PREFIX}/etc/${f}-sample + ${STAGEDIR}${PREFIX}/etc/${f}-sample .endfor .for f in ${LIBFILES} - @${MKDIR} ${PREFIX}/bin/${SGUILDIR}/lib - ${INSTALL_DATA} ${WRKSRC}/client/lib/${f} ${PREFIX}/bin/${SGUILDIR}/lib/${f} + @${MKDIR} ${STAGEDIR}${PREFIX}/bin/${SGUILDIR}/lib + ${INSTALL_DATA} ${WRKSRC}/client/lib/${f} ${STAGEDIR}${PREFIX}/bin/${SGUILDIR}/lib/${f} .endfor .for f in sguil_logo_h.gif - @${MKDIR} ${PREFIX}/bin/${SGUILDIR}/images + @${MKDIR} ${STAGEDIR}${PREFIX}/bin/${SGUILDIR}/images ${INSTALL_DATA} ${WRKSRC}/client/lib/images/${f} \ - ${PREFIX}/bin/${SGUILDIR}/images/${f} + ${STAGEDIR}${PREFIX}/bin/${SGUILDIR}/images/${f} .endfor (cd ${WRKSRC}/client/lib/tablelist4.1 && ${COPYTREE_SHARE} \* \ - ${PREFIX}/bin/${SGUILDIR}/lib/tablelist4.1/) - -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS1} ${DOCSDIR} - cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS2} ${DOCSDIR} -.endif - @${CAT} ${PKGMESSAGE} + ${STAGEDIR}${PREFIX}/bin/${SGUILDIR}/lib/tablelist4.1/) .include <bsd.port.mk> |