summaryrefslogtreecommitdiffstats
path: root/print/latex-bytefield
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-26 13:49:26 +0000
committerkrion <krion@FreeBSD.org>2004-01-26 13:49:26 +0000
commit2467c95fd933c76d560f26afd3dfb5cd6c02c0fe (patch)
tree28150f8739f701b0307ba761dfb2c7593af98742 /print/latex-bytefield
parent71c5679f5d1371af64ae8ef1ccf68978576e03d0 (diff)
downloadFreeBSD-ports-2467c95fd933c76d560f26afd3dfb5cd6c02c0fe.zip
FreeBSD-ports-2467c95fd933c76d560f26afd3dfb5cd6c02c0fe.tar.gz
Add latex-bytefield 1.1.20021008,
The bytefield package helps the user create illustrations for network protocol specifications and anything else that utilizes fields of data. These illustrations show how the bits and bytes are laid out in a packet or in memory. PR: ports/61935 Submitted by: hrs@FreeBSD.org
Diffstat (limited to 'print/latex-bytefield')
-rw-r--r--print/latex-bytefield/Makefile61
-rw-r--r--print/latex-bytefield/distinfo6
-rw-r--r--print/latex-bytefield/pkg-descr4
-rw-r--r--print/latex-bytefield/pkg-plist12
4 files changed, 83 insertions, 0 deletions
diff --git a/print/latex-bytefield/Makefile b/print/latex-bytefield/Makefile
new file mode 100644
index 0000000..f066496
--- /dev/null
+++ b/print/latex-bytefield/Makefile
@@ -0,0 +1,61 @@
+# New ports collection makefile for: latex-bytefield
+# Date created: 24 Jan 2004
+# Whom: hrs@FreeBSD.org
+#
+# $FreeBSD$
+
+PORTNAME= latex-bytefield
+PORTVERSION= 1.1.20021008
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR= macros/latex/contrib/bytefield
+DISTFILES= bytefield.dtx bytefield.ins ${DOC_FILES}
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= A LaTeX package that utilization diagram of data fields
+
+BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
+BUILD_DEPENDS+= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
+BUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX
+RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
+
+PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR}
+PLIST_SUB+= CLASSDIR=${CLASSDIR}
+
+USE_GMAKE= YES
+TEXMFLOCAL= share/texmf-local
+TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
+MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+TEX_BIN= ${LOCALBASE}/bin/tex
+CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
+WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
+
+CLASS_FILES= bytefield.dtx
+CLASS_FILES+= bytefield.sty
+CLASS_FILES+= bytefield.ins
+
+DOC_FILES= README
+DOC_FILES+= bytefield.pdf
+DOC_FILES+= example.pdf
+DOC_FILES+= example.tex
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
+
+do-build:
+ cd ${WRKSRC} && ${TEX_BIN} bytefield.ins
+
+do-install:
+ ${MKDIR} ${PREFIX}/${CLASSDIR}
+ ${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
+.endif
+
+post-install:
+ @${MKTEXLSR}
+
+.include <bsd.port.mk>
diff --git a/print/latex-bytefield/distinfo b/print/latex-bytefield/distinfo
new file mode 100644
index 0000000..a45ea1b
--- /dev/null
+++ b/print/latex-bytefield/distinfo
@@ -0,0 +1,6 @@
+MD5 (latex-bytefield/bytefield.dtx) = dd717fb32cf13022360bb831d05874c4
+MD5 (latex-bytefield/bytefield.ins) = 7d6f61f045f4090166e2dbb19157a6ad
+MD5 (latex-bytefield/README) = b1c7d7253c9e3d529910b53b1964133d
+MD5 (latex-bytefield/bytefield.pdf) = bd4243d235a218346d600863403e7d71
+MD5 (latex-bytefield/example.pdf) = 084f7268db801650c71433e3c684ac65
+MD5 (latex-bytefield/example.tex) = 5316b0a6dc16d46d25a8b172eb55b0fd
diff --git a/print/latex-bytefield/pkg-descr b/print/latex-bytefield/pkg-descr
new file mode 100644
index 0000000..4a442e7
--- /dev/null
+++ b/print/latex-bytefield/pkg-descr
@@ -0,0 +1,4 @@
+The bytefield package helps the user create illustrations for network
+protocol specifications and anything else that utilizes fields of
+data. These illustrations show how the bits and bytes are laid out in
+a packet or in memory.
diff --git a/print/latex-bytefield/pkg-plist b/print/latex-bytefield/pkg-plist
new file mode 100644
index 0000000..6ffd65f
--- /dev/null
+++ b/print/latex-bytefield/pkg-plist
@@ -0,0 +1,12 @@
+@comment $FreeBSD$
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/bytefield.pdf
+%%PORTDOCS%%%%DOCSDIR%%/example.pdf
+%%PORTDOCS%%%%DOCSDIR%%/example.tex
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%CLASSDIR%%/bytefield.dtx
+%%CLASSDIR%%/bytefield.sty
+%%CLASSDIR%%/bytefield.ins
+@dirrm %%CLASSDIR%%
+@exec %%MKTEXLSR%%
+@unexec %%MKTEXLSR%%
OpenPOWER on IntegriCloud