diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-11 20:31:35 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-11 20:31:35 +0800 |
commit | 2a203cd51de4edfd78049c3bac7cd005cda2b27c (patch) | |
tree | fba0c11c56f20e4ee40d83b478555f6207b712c8 /textproc | |
parent | 8f868c51f7ee80cf0cab17c629f0ea8776f38e65 (diff) | |
download | freebsd-ports-gnome-2a203cd51de4edfd78049c3bac7cd005cda2b27c.tar.gz freebsd-ports-gnome-2a203cd51de4edfd78049c3bac7cd005cda2b27c.tar.zst freebsd-ports-gnome-2a203cd51de4edfd78049c3bac7cd005cda2b27c.zip |
Stagify.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/uml2svg/Makefile | 21 | ||||
-rw-r--r-- | textproc/uml2svg/pkg-plist | 30 |
2 files changed, 22 insertions, 29 deletions
diff --git a/textproc/uml2svg/Makefile b/textproc/uml2svg/Makefile index f65e4383d3ac..97184f14b9e9 100644 --- a/textproc/uml2svg/Makefile +++ b/textproc/uml2svg/Makefile @@ -13,34 +13,27 @@ NO_BUILD= yes INSTDIR= share/xsl/uml2svg -NO_STAGE= yes .include <bsd.port.pre.mk> do-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${TAR} -cf - . |\ - ${TAR} -xf - -C${DOCSDIR}) + ${TAR} -xf - -C ${STAGEDIR}${DOCSDIR}) .endif - ${MKDIR} ${PREFIX}/${INSTDIR}/xsl + ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}/xsl dirs=$$(${FIND} ${WRKSRC}/src/xsl -type d | ${SED} 's|^${WRKSRC}/src/xsl||g'); \ for d in $${dirs}; do \ files=$$(${FIND} ${WRKSRC}/src/xsl/$${d} -type f); \ - ${MKDIR} ${PREFIX}/${INSTDIR}/xsl/$${d}; \ + ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}/xsl/$${d}; \ for i in $${files}; do \ - ${INSTALL_DATA} $${i} ${PREFIX}/${INSTDIR}/xsl/$${d}; \ + ${INSTALL_DATA} $${i} ${STAGEDIR}${PREFIX}/${INSTDIR}/xsl/$${d}; \ done; \ done; \ files=$$(${FIND} ${WRKSRC}/src/xsl -type f -depth 1); \ for i in $${files}; do \ - ${INSTALL_DATA} $${i} ${PREFIX}/${INSTDIR}/xsl/; \ + ${INSTALL_DATA} $${i} ${STAGEDIR}${PREFIX}/${INSTDIR}/xsl/; \ done - ${INSTALL_DATA} ${WRKSRC}/src/uml2svg.xsl ${PREFIX}/${INSTDIR}/ - -plist: - ${FIND} ${PREFIX}/${INSTDIR} -type f | ${SED} 's|${PREFIX}/||g' | ${SORT} >${PLIST} - ${FIND} ${PREFIX}/${INSTDIR} -type d | ${SORT} -r | ${SED} -e 's|${PREFIX}/||g' -e 's|^|@dirrm |g' >>${PLIST} - ${FIND} ${DOCSDIR} -type f | ${SED} 's|${DOCSDIR}/|%%PORTDOCS%%%%DOCSDIR%%/|g' | ${SORT} >>${PLIST} - ${FIND} ${DOCSDIR} -type d | ${SORT} -r | ${SED} 's|${DOCSDIR}/|%%PORTDOCS%%@dirrm %%DOCSDIR%%/|g' >>${PLIST} + ${INSTALL_DATA} ${WRKSRC}/src/uml2svg.xsl ${STAGEDIR}${PREFIX}/${INSTDIR}/ .include <bsd.port.post.mk> diff --git a/textproc/uml2svg/pkg-plist b/textproc/uml2svg/pkg-plist index 3959bbd8084d..10d3d015d384 100644 --- a/textproc/uml2svg/pkg-plist +++ b/textproc/uml2svg/pkg-plist @@ -1,3 +1,8 @@ +%%PORTDOCS%%%%DOCSDIR%%/images/screenshot.png +%%PORTDOCS%%%%DOCSDIR%%/images/uml_as_a_central_notation.png +%%PORTDOCS%%%%DOCSDIR%%/skin.css +%%PORTDOCS%%%%DOCSDIR%%/uml2svg-0.18-manual.html +%%PORTDOCS%%%%DOCSDIR%%/uml2svg-0.18-manual.pdf share/xsl/uml2svg/uml2svg.xsl share/xsl/uml2svg/xsl/.project share/xsl/uml2svg/xsl/ActivityDiagrams/AcceptEventAction.xsl @@ -93,22 +98,17 @@ share/xsl/uml2svg/xsl/UseCaseDiagrams/PackageUseCase.xsl share/xsl/uml2svg/xsl/UseCaseDiagrams/PackageUseCaseBody.xsl share/xsl/uml2svg/xsl/UseCaseDiagrams/UseCase.xsl share/xsl/uml2svg/xsl/UseCaseDiagrams/UseCaseDiagram.xsl -@dirrm share/xsl/uml2svg/xsl/UseCaseDiagrams -@dirrm share/xsl/uml2svg/xsl/System -@dirrm share/xsl/uml2svg/xsl/StateDiagrams -@dirrm share/xsl/uml2svg/xsl/SequenceDiagrams -@dirrm share/xsl/uml2svg/xsl/DeploymentDiagrams -@dirrm share/xsl/uml2svg/xsl/Common -@dirrm share/xsl/uml2svg/xsl/CollaborationDiagrams -@dirrm share/xsl/uml2svg/xsl/ClassDiagrams +%%PORTDOCS%%@dirrm %%DOCSDIR%%/images +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm share/xsl/uml2svg/xsl/ActivityDiagrams +@dirrm share/xsl/uml2svg/xsl/ClassDiagrams +@dirrm share/xsl/uml2svg/xsl/CollaborationDiagrams +@dirrm share/xsl/uml2svg/xsl/Common +@dirrm share/xsl/uml2svg/xsl/DeploymentDiagrams +@dirrm share/xsl/uml2svg/xsl/SequenceDiagrams +@dirrm share/xsl/uml2svg/xsl/StateDiagrams +@dirrm share/xsl/uml2svg/xsl/System +@dirrm share/xsl/uml2svg/xsl/UseCaseDiagrams @dirrm share/xsl/uml2svg/xsl @dirrm share/xsl/uml2svg @dirrmtry share/xsl -%%PORTDOCS%%%%DOCSDIR%%/images/screenshot.png -%%PORTDOCS%%%%DOCSDIR%%/images/uml_as_a_central_notation.png -%%PORTDOCS%%%%DOCSDIR%%/skin.css -%%PORTDOCS%%%%DOCSDIR%%/uml2svg-0.18-manual.html -%%PORTDOCS%%%%DOCSDIR%%/uml2svg-0.18-manual.pdf -%%PORTDOCS%%@dirrm %%DOCSDIR%%/images -%%PORTDOCS%%@dirrm %%DOCSDIR%% |