aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-12-07 06:44:49 +0800
committermiwi <miwi@FreeBSD.org>2006-12-07 06:44:49 +0800
commit908758808ab30de7f0c97d4f1920c6d5d940a837 (patch)
tree8beb7c265df8dd2e09faf125b8733f37dc74cc45 /print
parentd7df6d22903a89f20027206217360bd21d3c3dc6 (diff)
downloadfreebsd-ports-gnome-908758808ab30de7f0c97d4f1920c6d5d940a837.tar.gz
freebsd-ports-gnome-908758808ab30de7f0c97d4f1920c6d5d940a837.tar.zst
freebsd-ports-gnome-908758808ab30de7f0c97d4f1920c6d5d940a837.zip
This package used to extract the revision and file information
provided by the Subversion revision control system. WWW: http://www.brucker.ch/projects/svninfo/ PR: ports/106427 Submitted by: Henrik Brix Andersen <henrik at brixandersen.dk>
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%%