aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2011-08-01 14:00:16 +0800
committerhrs <hrs@FreeBSD.org>2011-08-01 14:00:16 +0800
commit89ae9bbfd28baef2253ddc85cba26ca27bf5f68b (patch)
tree66590adec81f86f864c20e88c2c5c61408adb570 /print
parent540f03d89cd65215d3e8220dd58875af32ce0aa1 (diff)
downloadfreebsd-ports-gnome-89ae9bbfd28baef2253ddc85cba26ca27bf5f68b.tar.gz
freebsd-ports-gnome-89ae9bbfd28baef2253ddc85cba26ca27bf5f68b.tar.zst
freebsd-ports-gnome-89ae9bbfd28baef2253ddc85cba26ca27bf5f68b.zip
Add print/latex-nomencl, a LaTeX macro package to generate and format a
nomenclature using MakeIndex.
Diffstat (limited to 'print')
-rw-r--r--print/Makefile1
-rw-r--r--print/latex-nomencl/Makefile62
-rw-r--r--print/latex-nomencl/distinfo8
-rw-r--r--print/latex-nomencl/pkg-descr2
-rw-r--r--print/latex-nomencl/pkg-plist3
5 files changed, 76 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index b9ef94f0260a..2edf73d21656 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -148,6 +148,7 @@
SUBDIR += latex-logreq
SUBDIR += latex-ltablex
SUBDIR += latex-mathabx
+ SUBDIR += latex-nomencl
SUBDIR += latex-pgf
SUBDIR += latex-prettyref
SUBDIR += latex-resume
diff --git a/print/latex-nomencl/Makefile b/print/latex-nomencl/Makefile
new file mode 100644
index 000000000000..025b857c4d50
--- /dev/null
+++ b/print/latex-nomencl/Makefile
@@ -0,0 +1,62 @@
+# New ports collection makefile for: latex-nomencl
+# Date created: 31 July 2011
+# Whom: hrs
+#
+# $FreeBSD$
+
+PORTNAME= nomencl
+PORTVERSION= 4.2.20050922
+CATEGORIES= print
+MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \
+ ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR= macros/latex/contrib/${PORTNAME}
+PKGNAMEPREFIX= latex-
+DISTFILES= ${SRC_FILES} ${PORTDOCS}
+DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= A LaTeX package to generate a nomenclature using MakeIndex
+
+BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
+ ${TEXMF_LSR}:${PORTSDIR}/print/tex-texmflocal
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
+ ${TEXMF_LSR}:${PORTSDIR}/print/tex-texmflocal
+
+PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
+ TEXMFDIR=${TEXMFDIR}
+
+TEXMFDIR= share/texmf
+TEXMF_LSR= ${LOCALBASE}/${TEXMFDIR}/ls-R
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+TEX_BIN= ${LOCALBASE}/bin/etex
+YES_CMD= /usr/bin/yes
+CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME}
+WRKSRC= ${WRKDIR}/${PORTNAME}
+PLIST_FILES= ${SRC_FILES:S,^,${CLASSDIR}/,} \
+ ${CLASS_FILES:S,^,${CLASSDIR}/,}
+
+SRC_FILES= nomencl.dtx nomencl.ins
+CLASS_FILES= nomencl.sty
+PORTDOCS= README nomencl.pdf
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} ${DISTFILES} ${WRKSRC}
+
+do-build:
+ cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} nomencl.ins
+
+do-install:
+ ${MKDIR} ${PREFIX}/${CLASSDIR}
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} ${SRC_FILES} ${CLASS_FILES} \
+ ${PREFIX}/${CLASSDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.endif
+
+post-install:
+ @${MKTEXLSR} ${LOCALBASE}/${TEXMFDIR}
+
+.include <bsd.port.mk>
diff --git a/print/latex-nomencl/distinfo b/print/latex-nomencl/distinfo
new file mode 100644
index 000000000000..98a9559d0f28
--- /dev/null
+++ b/print/latex-nomencl/distinfo
@@ -0,0 +1,8 @@
+SHA256 (nomencl-4.2.20050922/nomencl.dtx) = 2ee4af5e3d48f9f6cfc1f9d5ae36f7ca90a9ea695510a136e2ce5aa66db24131
+SIZE (nomencl-4.2.20050922/nomencl.dtx) = 55886
+SHA256 (nomencl-4.2.20050922/nomencl.ins) = 68d1480e4d4c14606390f0e44c65b22a1c15ec642ffffbfa55be8f3965466d87
+SIZE (nomencl-4.2.20050922/nomencl.ins) = 2761
+SHA256 (nomencl-4.2.20050922/README) = 0db1d892cc98a87ace23353f20fa80cebcfd080dfa82b714f3e09465daf34a5a
+SIZE (nomencl-4.2.20050922/README) = 2833
+SHA256 (nomencl-4.2.20050922/nomencl.pdf) = 8955c31e799083471a8b980eb3b4e25887262d653be2b2ffa45ff03845e74259
+SIZE (nomencl-4.2.20050922/nomencl.pdf) = 203514
diff --git a/print/latex-nomencl/pkg-descr b/print/latex-nomencl/pkg-descr
new file mode 100644
index 000000000000..26b27e6b08ab
--- /dev/null
+++ b/print/latex-nomencl/pkg-descr
@@ -0,0 +1,2 @@
+The nomenclature package can be used to generate and format a
+nomenclature using MakeIndex.
diff --git a/print/latex-nomencl/pkg-plist b/print/latex-nomencl/pkg-plist
new file mode 100644
index 000000000000..3d716edd0b07
--- /dev/null
+++ b/print/latex-nomencl/pkg-plist
@@ -0,0 +1,3 @@
+@comment $FreeBSD$
+@exec %%MKTEXLSR%% %D/%%TEXMFDIR%%
+@unexec %%MKTEXLSR%% %D/%%TEXMFDIR%%