aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-06 22:44:49 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-06 22:44:49 +0000
commit07869b64bddb5bcf829dcf8d45c9924512338385 (patch)
treeed726e8ec6684faee42c78ad6f9db1903adc4aaa /print
parent7a2669d2b2106364ac54805b95f049ac539bb9e9 (diff)
downloadports-07869b64bddb5bcf829dcf8d45c9924512338385.tar.gz
ports-07869b64bddb5bcf829dcf8d45c9924512338385.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/latex-svninfo/Makefile51
-rw-r--r--print/latex-svninfo/distinfo3
-rw-r--r--print/latex-svninfo/pkg-descr4
-rw-r--r--print/latex-svninfo/pkg-plist5
5 files changed, 64 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index 6e9607c0d4d6..27eab6685fcf 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -145,6 +145,7 @@
SUBDIR += latex-pict2e
SUBDIR += latex-subfig
SUBDIR += latex-subfloat
+ SUBDIR += latex-svninfo
SUBDIR += latex-timing
SUBDIR += latex-tipa
SUBDIR += latex-ucs
diff --git a/print/latex-svninfo/Makefile b/print/latex-svninfo/Makefile
new file mode 100644
index 000000000000..759dad88801e
--- /dev/null
+++ b/print/latex-svninfo/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: latex-svninfo
+# Date created: 05 Dec 2006
+# Whom: Henrik Brix Andersen <henrik@brixandersen.dk>
+#
+# $FreeBSD$
+
+PORTNAME= svninfo
+PORTVERSION= 0.6
+CATEGORIES= print
+MASTER_SITES= http://www.brucker.ch/projects/svninfo/download/
+PKGNAMEPREFIX= latex-
+
+MAINTAINER= henrik@brixandersen.dk
+COMMENT= A LaTeX package for Subversion support
+
+BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
+ ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
+ ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
+
+PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
+
+TEXMFLOCAL= share/texmf-local
+TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+TEX_BIN= ${LOCALBASE}/bin/latex
+CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME}
+
+CLASS_FILES= svninfo.sty svninfo.cfg
+PORTDOCS= README svninfo.dvi
+
+.include <bsd.port.pre.mk>
+
+do-build:
+ cd ${WRKSRC} && ${TEX_BIN} svninfo.ins
+.if !defined(NOPORTDOCS)
+ cd ${WRKSRC} && ${TEX_BIN} svninfo.dtx
+.endif
+
+do-install:
+ ${MKDIR} ${PREFIX}/${CLASSDIR}
+ ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR}
+.endif
+
+post-install:
+ ${MKTEXLSR}
+
+.include <bsd.port.post.mk>
diff --git a/print/latex-svninfo/distinfo b/print/latex-svninfo/distinfo
new file mode 100644
index 000000000000..5b79f9f0fb09
--- /dev/null
+++ b/print/latex-svninfo/distinfo
@@ -0,0 +1,3 @@
+MD5 (svninfo-0.6.tar.gz) = ff0b71c0f3c2834d091ecf1e1dc18cef
+SHA256 (svninfo-0.6.tar.gz) = 6373b431242ffc9fffc67352805c2d39d13682dab45f254f63d1b78b21f08b50
+SIZE (svninfo-0.6.tar.gz) = 13690
diff --git a/print/latex-svninfo/pkg-descr b/print/latex-svninfo/pkg-descr
new file mode 100644
index 000000000000..03ffdeb32b8f
--- /dev/null
+++ b/print/latex-svninfo/pkg-descr
@@ -0,0 +1,4 @@
+This package used to extract the revision and file information
+provided by the Subversion revision control system.
+
+WWW: http://www.brucker.ch/projects/svninfo/
diff --git a/print/latex-svninfo/pkg-plist b/print/latex-svninfo/pkg-plist
new file mode 100644
index 000000000000..8cc1ef31d591
--- /dev/null
+++ b/print/latex-svninfo/pkg-plist
@@ -0,0 +1,5 @@
+%%CLASSDIR%%/svninfo.sty
+%%CLASSDIR%%/svninfo.cfg
+@dirrm %%CLASSDIR%%
+@exec %%MKTEXLSR%%
+@unexec %%MKTEXLSR%%