aboutsummaryrefslogtreecommitdiff
path: root/textproc/add-css-links
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-25 22:03:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-01-25 22:03:15 +0000
commit3e0a2d750860c7137d17284fa4e782bdd20cf06b (patch)
tree51a1e107205108606647ac9b8d35294bfa261f23 /textproc/add-css-links
parentbbde3b1a18aed5a0afadad1708e38628dac2362c (diff)
downloadports-3e0a2d750860c7137d17284fa4e782bdd20cf06b.tar.gz
ports-3e0a2d750860c7137d17284fa4e782bdd20cf06b.zip
Notes
Diffstat (limited to 'textproc/add-css-links')
-rw-r--r--textproc/add-css-links/Makefile10
-rw-r--r--textproc/add-css-links/pkg-plist3
2 files changed, 6 insertions, 7 deletions
diff --git a/textproc/add-css-links/Makefile b/textproc/add-css-links/Makefile
index c796b9b4529f..3ee4c17834f3 100644
--- a/textproc/add-css-links/Makefile
+++ b/textproc/add-css-links/Makefile
@@ -11,11 +11,13 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Add one or more CSS <link> elements to an XHTML document
NO_BUILD= yes
+WRKSRC= ${WRKDIR}/xhtml
+
+PLIST_FILES= share/xsl/xhtml/add-css-links.xsl
+PLIST_DIRSTRY= share/xsl/xhtml share/xsl
-NO_STAGE= yes
do-install:
- @${ECHO} "Installing in ${PREFIX}/share/xsl/xhtml/"
- @${MKDIR} ${PREFIX}/share/xsl/xhtml
- @${CP} ${WRKDIR}/xhtml/*.xsl ${PREFIX}/share/xsl/xhtml/
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/xsl/xhtml
+ ${CP} ${WRKSRC}/*.xsl ${STAGEDIR}${PREFIX}/share/xsl/xhtml/
.include <bsd.port.mk>
diff --git a/textproc/add-css-links/pkg-plist b/textproc/add-css-links/pkg-plist
deleted file mode 100644
index 36d0daba8cb0..000000000000
--- a/textproc/add-css-links/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-share/xsl/xhtml/add-css-links.xsl
-@dirrmtry share/xsl/xhtml
-@dirrmtry share/xsl