diff options
-rw-r--r-- | textproc/resume/Makefile | 26 | ||||
-rw-r--r-- | textproc/resume/files/pkg-message.in (renamed from textproc/resume/pkg-message) | 0 |
2 files changed, 14 insertions, 12 deletions
diff --git a/textproc/resume/Makefile b/textproc/resume/Makefile index d08461f136c..8c6201915c7 100644 --- a/textproc/resume/Makefile +++ b/textproc/resume/Makefile @@ -4,38 +4,40 @@ PORTNAME= resume DISTVERSION= 1_5_1 PORTREVISION= 2 -CATEGORIES= textproc +CATEGORIES= textproc java MASTER_SITES= SF/xml${PORTNAME}/xml${PORTNAME}/${PORTVERSION} -EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= XML Resume library +LICENSE= MIT + +USES= tar:tgz USE_JAVA= yes NO_BUILD= yes -PKGMESSAGE= ${WRKDIR}/pkg-message +NO_ARCH= yes +SUB_FILES= pkg-message PORTDOCS= * OPTIONS_DEFINE= DOCS EXAMPLES post-patch: - ${REINPLACE_CMD} -e 's|\.\./\.\./css|css|' ${WRKSRC}/xsl/params.xsl - ${FIND} ${WRKSRC} -name '*.bak' -delete + @${REINPLACE_CMD} -e 's|\.\./\.\./css|css|' ${WRKSRC}/xsl/params.xsl + @${FIND} ${WRKSRC} -name '*.bak' -delete do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/share/xml/${PORTNAME} - ${CP} -R ${WRKSRC}/dtd/* ${STAGEDIR}${PREFIX}/share/xml/${PORTNAME} - ${MKDIR} ${STAGEDIR}${PREFIX}/share/xsl/${PORTNAME} - ${CP} -R ${WRKSRC}/xsl/* ${STAGEDIR}${PREFIX}/share/xsl/${PORTNAME} - ${CP} -R ${WRKSRC}/css ${STAGEDIR}${PREFIX}/share/xsl/${PORTNAME}/format + cd ${WRKSRC}/dtd && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/xml/${PORTNAME} + cd ${WRKSRC}/xsl && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/xsl/${PORTNAME} + cd ${WRKSRC} && ${COPYTREE_SHARE} css ${STAGEDIR}${PREFIX}/share/xsl/${PORTNAME}/format ${INSTALL_DATA} ${WRKSRC}/java/*.jar ${STAGEDIR}${JAVAJARDIR} -post-install: +do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -R ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} - ${SED} -e "s|%%PREFIX%%|${PREFIX}|g" pkg-message >${PKGMESSAGE} .include <bsd.port.mk> diff --git a/textproc/resume/pkg-message b/textproc/resume/files/pkg-message.in index c2b88035010..c2b88035010 100644 --- a/textproc/resume/pkg-message +++ b/textproc/resume/files/pkg-message.in |