diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-12-22 06:29:01 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-12-22 06:29:01 +0000 |
commit | 25a5db5b2fc58d7f2dab8c1fa8d149bea69181b6 (patch) | |
tree | a1e37b813da2671bc938fa631122e4c8dd0e5afe /textproc/resume-extensions/Makefile | |
parent | 94b4be95035a831bb9e95bda98a38564303845de (diff) | |
download | ports-25a5db5b2fc58d7f2dab8c1fa8d149bea69181b6.tar.gz ports-25a5db5b2fc58d7f2dab8c1fa8d149bea69181b6.zip |
A (new) port of the resume-extensions XSL stylesheets.
This port extends the textproc/resume stylesheets
http://aaronland.info/xsl/xmlresume
PR: ports/69998
Submitted by: Aaron Straup Cope <ascope@cpan.org>
Notes
Notes:
svn path=/head/; revision=124792
Diffstat (limited to 'textproc/resume-extensions/Makefile')
-rw-r--r-- | textproc/resume-extensions/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/textproc/resume-extensions/Makefile b/textproc/resume-extensions/Makefile new file mode 100644 index 000000000000..e7e9ef7f2172 --- /dev/null +++ b/textproc/resume-extensions/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: resume-extensions +# Date created: August 03 2004 +# Whom: Aaron Straup Cope +# $FreeBSD$ + +PORTNAME= resume-extensions +PORTVERSION= 0.5 +CATEGORIES= textproc +MASTER_SITES= http://aaronland.info/xsl/xmlresume/ +DISTNAME= xml${PORTNAME}-${PORTVERSION} + +MAINTAINER= ascope@cpan.org +COMMENT= Extends the XML Resume library + +RUN_DEPENDS= ${LOCALBASE}/share/xsl/resume:${PORTSDIR}/textproc/resume \ + ${LOCALBASE}/share/xsl/string/print-n-times.xsl:${PORTSDIR}/textproc/print-n-times \ + ${LOCALBASE}/share/xsl/xhtml/add-css-links.xsl:${PORTSDIR}/textproc/add-css-links + +USE_REINPLACE= yes +NO_BUILD= yes + +post-patch: + ${REINPLACE_CMD} -e 's|/usr/local/share|${LOCALBASE}/share|' \ + ${WRKSRC}/lib/extrefs.xsl + ${REINPLACE_CMD} -e 's|/usr/local/share|${LOCALBASE}/share|' \ + ${WRKSRC}/format/html.xsl + ${FIND} ${WRKSRC} -name '*.bak' -delete + +do-install: + @${ECHO} "Installing in ${PREFIX}/share/xsl/${PORTNAME}" + @${MKDIR} ${PREFIX}/share/xsl/${PORTNAME} + @${CP} -R ${WRKSRC}/* ${PREFIX}/share/xsl/${PORTNAME} + +.include <bsd.port.mk> |