Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 01:15:38 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61839: New port: print/latex-keystroke
Message-ID:  <200401241615.i0OGFcv0044384@alph.allbsd.org>
Resent-Message-ID: <200401241630.i0OGUIKO098668@freefall.freebsd.org>

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

>Number:         61839
>Category:       ports
>Synopsis:       New port: print/latex-keystroke
>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:   Sat Jan 24 08:30:17 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-keystroke provides macros for the graphical
	representation of the keys on a computer keyboard. `keystroke' is
	based on macros which were used in a previous edition of the Linux
	manual published by the SuSE G.m.b.H. distributor, and is licensed
	under the GPL.

>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-keystroke
#	latex-keystroke/pkg-plist
#	latex-keystroke/pkg-descr
#	latex-keystroke/Makefile
#	latex-keystroke/distinfo
#
echo c - latex-keystroke
mkdir -p latex-keystroke > /dev/null 2>&1
echo x - latex-keystroke/pkg-plist
sed 's/^X//' >latex-keystroke/pkg-plist << 'END-of-latex-keystroke/pkg-plist'
X@comment $FreeBSD$
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%CLASSDIR%%/key-test.pdf
X%%CLASSDIR%%/key-test.tex
X%%CLASSDIR%%/keystroke.sty
X%%CLASSDIR%%/keystroke_left.eps
X%%CLASSDIR%%/keystroke_left.pdf
X%%CLASSDIR%%/keystroke_middle.eps
X%%CLASSDIR%%/keystroke_middle.pdf
X%%CLASSDIR%%/keystroke_right.eps
X%%CLASSDIR%%/keystroke_right.pdf
X@dirrm %%CLASSDIR%%
X@exec %%MKTEXLSR%%
X@unexec %%MKTEXLSR%%
END-of-latex-keystroke/pkg-plist
echo x - latex-keystroke/pkg-descr
sed 's/^X//' >latex-keystroke/pkg-descr << 'END-of-latex-keystroke/pkg-descr'
XTeX package `keystroke' provides macros for the graphical
Xrepresentation of the keys on a computer keyboard. `keystroke' is
Xbased on macros which were used in a previous edition of the Linux
Xmanual published by the SuSE G.m.b.H. distributor, and is licensed
Xunder the GPL.
END-of-latex-keystroke/pkg-descr
echo x - latex-keystroke/Makefile
sed 's/^X//' >latex-keystroke/Makefile << 'END-of-latex-keystroke/Makefile'
X# New ports collection makefile for:	latex-keystroke
X# Date created:		24 Jan 2004
X# Whom:			hrs@FreeBSD.org
X#
X# $FreeBSD$
X
XPORTNAME=	latex-keystroke
XPORTVERSION=	1.0.20001109
XCATEGORIES=	print
XMASTER_SITES=	${MASTER_SITE_TEX_CTAN}
XMASTER_SITE_SUBDIR=	macros/latex/contrib/keystroke
XDISTFILES=	${DOC_FILES} ${CLASS_FILES}
XDIST_SUBDIR=	${PORTNAME}
XEXTRACT_ONLY=	#empty
X
XMAINTAINER=	hrs@FreeBSD.org
XCOMMENT=	A LaTeX package for the graphical representation of the keys
X
XBUILD_DEPENDS=	mktexlsr:${PORTSDIR}/print/teTeX
XRUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX
X
XNO_BUILD=	YES
XPLIST_SUB=	TEXMF=${TEXMF} MKTEXLSR=${MKTEXLSR}
XPLIST_SUB+=	CLASSDIR=${CLASSDIR}
X
XTEXMF=		share/texmf
XMKTEXLSR=	${LOCALBASE}/bin/mktexlsr
XCLASSDIR=	${TEXMF}/tex/latex/${PORTNAME:S/^latex-//}
X
XDOC_FILES=	README
X
XCLASS_FILES+=	key-test.pdf
XCLASS_FILES+=	key-test.tex
XCLASS_FILES+=	keystroke.sty
XCLASS_FILES+=	keystroke_left.eps
XCLASS_FILES+=	keystroke_left.pdf
XCLASS_FILES+=	keystroke_middle.eps
XCLASS_FILES+=	keystroke_middle.pdf
XCLASS_FILES+=	keystroke_right.eps
XCLASS_FILES+=	keystroke_right.pdf
X
Xdo-install:
X	${MKDIR} ${PREFIX}/${CLASSDIR}
X	${INSTALL_DATA} ${CLASS_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${PREFIX}/${CLASSDIR}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${DOC_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${DOCSDIR}
X.endif
X
Xpost-install:
X	${MKTEXLSR}
X
X.include <bsd.port.mk>
END-of-latex-keystroke/Makefile
echo x - latex-keystroke/distinfo
sed 's/^X//' >latex-keystroke/distinfo << 'END-of-latex-keystroke/distinfo'
XMD5 (latex-keystroke/README) = f46f59b757bceec991f4b59ef9a5a5ab
XMD5 (latex-keystroke/key-test.pdf) = 81d065687bb24ec6a5e65cb45d5f46de
XMD5 (latex-keystroke/key-test.tex) = 18c39209c9f8658b1ec69c149f2b3064
XMD5 (latex-keystroke/keystroke.sty) = 852b6c9010bf64a98223c3c9de324ca5
XMD5 (latex-keystroke/keystroke_left.eps) = d0479e61036736c9495d475bb040cba8
XMD5 (latex-keystroke/keystroke_left.pdf) = 7bfe34f26d8809c4ca4227976cfb7bae
XMD5 (latex-keystroke/keystroke_middle.eps) = 0587c77b7287d0d8053c47c517c3019b
XMD5 (latex-keystroke/keystroke_middle.pdf) = b9a82be2d65c7aab2c1216e7b3adddcf
XMD5 (latex-keystroke/keystroke_right.eps) = 2907ec13b1fad2aeceedb757285cb1a5
XMD5 (latex-keystroke/keystroke_right.pdf) = 1bc7624c17109916ff64d92375342ddb
END-of-latex-keystroke/distinfo
exit

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



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