Add latex-subfloat 2.14.20030821,

latex-subfloat enables subnumbering of different floats
(figures and tables) simular to the subequations-environment of
the amsmath package. It does not the same as the subfigure
package which generates subfigures within one normal figure.

PR:		ports/62035
Submitted by:	hrs@FreeBSD.org
This commit is contained in:
Kirill Ponomarev 2004-01-29 10:48:17 +00:00
parent edaecc1104
commit f86be133fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99384
5 changed files with 86 additions and 0 deletions

View File

@ -105,6 +105,7 @@
SUBDIR += latex-mathabx
SUBDIR += latex-pgf
SUBDIR += latex-subfig
SUBDIR += latex-subfloat
SUBDIR += latex-timing
SUBDIR += latex-xcolor
SUBDIR += latex2rtf

View File

@ -0,0 +1,60 @@
# New ports collection makefile for: latex-subfloat
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-subfloat
PORTVERSION= 2.14.20030821
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= macros/latex/contrib/subfloat
DISTFILES= Makefile subfloat.dtx subfloat.ins ${DOC_FILES}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that enables subnumbering of different floats
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
BUILD_DEPENDS+= ${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR}
PLIST_SUB+= CLASSDIR=${CLASSDIR}
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= subfloat.dtx
CLASS_FILES+= subfloat.sty
CLASS_FILES+= subfloat.ins
DOC_FILES= README
DOC_FILES+= ChangeLog
DOC_FILES+= subfloat.dvi
DOC_FILES+= subfloat.xml
do-extract:
${MKDIR} ${WRKSRC}
cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
do-build:
cd ${WRKSRC} && ${TEX_BIN} subfloat.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>

View File

@ -0,0 +1,7 @@
MD5 (latex-subfloat/Makefile) = d583e85d6d11dc8dcba05ee4a4f847a6
MD5 (latex-subfloat/subfloat.dtx) = 5480bc25b3fc716da8d95ddeafc3c35f
MD5 (latex-subfloat/subfloat.ins) = 98b93e026734ccd997d4994e92099a2e
MD5 (latex-subfloat/README) = ce3f9f252b3e419d30740708b9ab82e9
MD5 (latex-subfloat/ChangeLog) = 197de46e6e3a85527ca0166b6ae7e66c
MD5 (latex-subfloat/subfloat.dvi) = db641989b4e6d0a591c3519f4c318049
MD5 (latex-subfloat/subfloat.xml) = c832e5d02198274d9b4077efda930264

View File

@ -0,0 +1,6 @@
subfloat.sty -- subnumbering for figures and tables
This package enables subnumbering of different floats (figures and
tables) simular to the subequations-environment of the amsmath
package. It does not the same as the subfigure package which
generates subfigures within one normal figure.

View File

@ -0,0 +1,12 @@
@comment $FreeBSD$
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/subfloat.dvi
%%PORTDOCS%%%%DOCSDIR%%/subfloat.xml
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%CLASSDIR%%/subfloat.dtx
%%CLASSDIR%%/subfloat.ins
%%CLASSDIR%%/subfloat.sty
@dirrm %%CLASSDIR%%
@exec %%MKTEXLSR%%
@unexec %%MKTEXLSR%%