aboutsummaryrefslogtreecommitdiff
path: root/print/latex-bytefield
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-26 13:49:26 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-26 13:49:26 +0000
commit4eda94aea7c5e7d4904ec8f79813c3299ddb3dcf (patch)
treee286291eb8fb5f243184799c9ef40fa110e6bfec /print/latex-bytefield
parentd8bf2912f3bdbda794746fe87f07ef64f1f6e0f9 (diff)
downloadports-4eda94aea7c5e7d4904ec8f79813c3299ddb3dcf.tar.gz
ports-4eda94aea7c5e7d4904ec8f79813c3299ddb3dcf.zip
Notes
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 000000000000..f066496e216c
--- /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 000000000000..a45ea1b6c3a7
--- /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 000000000000..4a442e7ba9e2
--- /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 000000000000..6ffd65f1e5c7
--- /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%%