Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 01:56:54 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62035: New port: print/latex-subfloat
Message-ID:  <200401281656.i0SGuspx075724@alph.allbsd.org>
Resent-Message-ID: <200401281700.i0SH0a05077793@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62035
>Category:       ports
>Synopsis:       New port: print/latex-subfloat
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 28 09:00:36 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hiroki Sato
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Tokyo University of Science
>Environment:
System: FreeBSD alph.allbsd.org 4.8-STABLE FreeBSD 4.8-STABLE #7: Tue May 20 00:05:43 JST 2003     hrs@alph.allbsd.org:/home/obj/home/src/sys/ALPH  i386

>Description:
	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.

>How-To-Repeat:
	N/A

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	latex-subfloat
#	latex-subfloat/pkg-plist
#	latex-subfloat/pkg-descr
#	latex-subfloat/Makefile
#	latex-subfloat/distinfo
#
echo c - latex-subfloat
mkdir -p latex-subfloat > /dev/null 2>&1
echo x - latex-subfloat/pkg-plist
sed 's/^X//' >latex-subfloat/pkg-plist << 'END-of-latex-subfloat/pkg-plist'
X@comment $FreeBSD$
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%%%DOCSDIR%%/subfloat.dvi
X%%PORTDOCS%%%%DOCSDIR%%/subfloat.xml
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%CLASSDIR%%/subfloat.dtx
X%%CLASSDIR%%/subfloat.ins
X%%CLASSDIR%%/subfloat.sty
X@dirrm %%CLASSDIR%%
X@exec %%MKTEXLSR%%
X@unexec %%MKTEXLSR%%
END-of-latex-subfloat/pkg-plist
echo x - latex-subfloat/pkg-descr
sed 's/^X//' >latex-subfloat/pkg-descr << 'END-of-latex-subfloat/pkg-descr'
Xsubfloat.sty -- subnumbering for figures and tables
X
XThis package enables subnumbering of different floats (figures and
Xtables) simular to the subequations-environment of the amsmath
Xpackage. It does not the same as the subfigure package which
Xgenerates subfigures within one normal figure.
END-of-latex-subfloat/pkg-descr
echo x - latex-subfloat/Makefile
sed 's/^X//' >latex-subfloat/Makefile << 'END-of-latex-subfloat/Makefile'
X# New ports collection makefile for:	latex-subfloat
X# Date created:		24 Jan 2004
X# Whom:			hrs@FreeBSD.org
X#
X# $FreeBSD$
X
XPORTNAME=	latex-subfloat
XPORTVERSION=	2.14.20030821
XCATEGORIES=	print
XMASTER_SITES=	${MASTER_SITE_TEX_CTAN}
XMASTER_SITE_SUBDIR=	macros/latex/contrib/subfloat
XDISTFILES=	Makefile subfloat.dtx subfloat.ins ${DOC_FILES}
XDIST_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	hrs@FreeBSD.org
XCOMMENT=	A LaTeX package that enables subnumbering of different floats
X
XBUILD_DEPENDS=	mktexlsr:${PORTSDIR}/print/teTeX
XBUILD_DEPENDS+=	${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
XBUILD_DEPENDS+=	latex:${PORTSDIR}/print/teTeX
XRUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX
X
XPLIST_SUB=	TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR}
XPLIST_SUB+=	CLASSDIR=${CLASSDIR}
X
XTEXMFLOCAL=	share/texmf-local
XTEXMFLOCAL_LSR=	${LOCALBASE}/${TEXMFLOCAL}/ls-R
XMKTEXLSR=	${LOCALBASE}/bin/mktexlsr
XTEX_BIN=	${LOCALBASE}/bin/tex
XCLASSDIR=	${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
XWRKSRC=		${WRKDIR}/${PORTNAME:S/^latex-//}
X
XCLASS_FILES=	subfloat.dtx
XCLASS_FILES+=	subfloat.sty
XCLASS_FILES+=	subfloat.ins
X
XDOC_FILES=	README
XDOC_FILES+=	ChangeLog
XDOC_FILES+=	subfloat.dvi
XDOC_FILES+=	subfloat.xml
X
Xdo-extract:
X	${MKDIR} ${WRKSRC}
X	cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
X
Xdo-build:
X	cd ${WRKSRC} && ${TEX_BIN} subfloat.ins
X
Xdo-install:
X	${MKDIR} ${PREFIX}/${CLASSDIR}
X	${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
X.endif
X
Xpost-install:
X	@${MKTEXLSR}
X
X.include <bsd.port.mk>
END-of-latex-subfloat/Makefile
echo x - latex-subfloat/distinfo
sed 's/^X//' >latex-subfloat/distinfo << 'END-of-latex-subfloat/distinfo'
XMD5 (latex-subfloat/Makefile) = d583e85d6d11dc8dcba05ee4a4f847a6
XMD5 (latex-subfloat/subfloat.dtx) = 5480bc25b3fc716da8d95ddeafc3c35f
XMD5 (latex-subfloat/subfloat.ins) = 98b93e026734ccd997d4994e92099a2e
XMD5 (latex-subfloat/README) = ce3f9f252b3e419d30740708b9ab82e9
XMD5 (latex-subfloat/ChangeLog) = 197de46e6e3a85527ca0166b6ae7e66c
XMD5 (latex-subfloat/subfloat.dvi) = db641989b4e6d0a591c3519f4c318049
XMD5 (latex-subfloat/subfloat.xml) = c832e5d02198274d9b4077efda930264
END-of-latex-subfloat/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401281656.i0SGuspx075724>