Index: head/textproc/resume/pkg-message =================================================================== --- head/textproc/resume/pkg-message (revision 409321) +++ head/textproc/resume/pkg-message (nonexistent) @@ -1,12 +0,0 @@ -************************************************************************ - -For the impatient: You can get a result just in two steps! - -1. Install textproc/libxslt. - -2. Run the command below. - - $ xsltproc %%PREFIX%%/share/xsl/resume/output/us-html.xsl \ - %%PREFIX%%/share/examples/resume/example1.xml - -************************************************************************ Property changes on: head/textproc/resume/pkg-message ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/textproc/resume/Makefile =================================================================== --- head/textproc/resume/Makefile (revision 409321) +++ head/textproc/resume/Makefile (revision 409322) @@ -1,41 +1,43 @@ # Created by: Kimura Fuyuki # $FreeBSD$ 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 Index: head/textproc/resume/files/pkg-message.in =================================================================== --- head/textproc/resume/files/pkg-message.in (nonexistent) +++ head/textproc/resume/files/pkg-message.in (revision 409322) @@ -0,0 +1,12 @@ +************************************************************************ + +For the impatient: You can get a result just in two steps! + +1. Install textproc/libxslt. + +2. Run the command below. + + $ xsltproc %%PREFIX%%/share/xsl/resume/output/us-html.xsl \ + %%PREFIX%%/share/examples/resume/example1.xml + +************************************************************************ Property changes on: head/textproc/resume/files/pkg-message.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property