aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-12-22 14:29:01 +0800
committeredwin <edwin@FreeBSD.org>2004-12-22 14:29:01 +0800
commitb33cd59d1471fbec50e082894e861f07abbc30d4 (patch)
tree786ca5372fc95905f3f51bfa28337e174db3c9e1 /textproc
parentde314b5b565d02fd45c9be3f4f9f4dedca3262cb (diff)
downloadfreebsd-ports-gnome-b33cd59d1471fbec50e082894e861f07abbc30d4.tar.gz
freebsd-ports-gnome-b33cd59d1471fbec50e082894e861f07abbc30d4.tar.zst
freebsd-ports-gnome-b33cd59d1471fbec50e082894e861f07abbc30d4.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>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/resume-extensions/Makefile34
-rw-r--r--textproc/resume-extensions/distinfo2
-rw-r--r--textproc/resume-extensions/pkg-descr3
-rw-r--r--textproc/resume-extensions/pkg-plist11
5 files changed, 51 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index d556aed969f9..defdc3497932 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -529,6 +529,7 @@
SUBDIR += redland
SUBDIR += replaceit
SUBDIR += resume
+ SUBDIR += resume-extensions
SUBDIR += rfcdiff
SUBDIR += rl
SUBDIR += rman
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>
diff --git a/textproc/resume-extensions/distinfo b/textproc/resume-extensions/distinfo
new file mode 100644
index 000000000000..1346dcb9a662
--- /dev/null
+++ b/textproc/resume-extensions/distinfo
@@ -0,0 +1,2 @@
+MD5 (xmlresume-extensions-0.5.tar.gz) = 404d90a2b8b10e8e207636ab6e620af6
+SIZE (xmlresume-extensions-0.5.tar.gz) = 6744
diff --git a/textproc/resume-extensions/pkg-descr b/textproc/resume-extensions/pkg-descr
new file mode 100644
index 000000000000..825bea3126bf
--- /dev/null
+++ b/textproc/resume-extensions/pkg-descr
@@ -0,0 +1,3 @@
+Extend the XML Resume library.
+
+WWW: http://aaronland.info/xsl/xmlresume/
diff --git a/textproc/resume-extensions/pkg-plist b/textproc/resume-extensions/pkg-plist
new file mode 100644
index 000000000000..f096681cd894
--- /dev/null
+++ b/textproc/resume-extensions/pkg-plist
@@ -0,0 +1,11 @@
+share/xsl/resume-extensions/Changes.txt
+share/xsl/resume-extensions/format/fo.xsl
+share/xsl/resume-extensions/format/html.xsl
+share/xsl/resume-extensions/format/text.xsl
+share/xsl/resume-extensions/format/xml.xsl
+share/xsl/resume-extensions/lib/extrefs.xsl
+share/xsl/resume-extensions/params.xsl
+@dirrm share/xsl/resume-extensions/lib
+@dirrm share/xsl/resume-extensions/format
+@dirrm share/xsl/resume-extensions
+@unexec rmdir %D/share/xsl 2>/dev/null || true