7c3f427409
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. PR: ports/61839 Submitted by: hrs@FreeBSD.org
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# New ports collection makefile for: latex-keystroke
|
|
# Date created: 24 Jan 2004
|
|
# Whom: hrs@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= latex-keystroke
|
|
PORTVERSION= 1.0.20001109
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
|
|
MASTER_SITE_SUBDIR= macros/latex/contrib/keystroke
|
|
DISTFILES= ${DOC_FILES} ${CLASS_FILES}
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
EXTRACT_ONLY= #empty
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= A LaTeX package for the graphical representation of the keys
|
|
|
|
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX
|
|
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
|
|
|
|
NO_BUILD= YES
|
|
PLIST_SUB= TEXMF=${TEXMF} MKTEXLSR=${MKTEXLSR}
|
|
PLIST_SUB+= CLASSDIR=${CLASSDIR}
|
|
|
|
TEXMF= share/texmf
|
|
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
|
|
CLASSDIR= ${TEXMF}/tex/latex/${PORTNAME:S/^latex-//}
|
|
|
|
DOC_FILES= README
|
|
|
|
CLASS_FILES+= key-test.pdf
|
|
CLASS_FILES+= key-test.tex
|
|
CLASS_FILES+= keystroke.sty
|
|
CLASS_FILES+= keystroke_left.eps
|
|
CLASS_FILES+= keystroke_left.pdf
|
|
CLASS_FILES+= keystroke_middle.eps
|
|
CLASS_FILES+= keystroke_middle.pdf
|
|
CLASS_FILES+= keystroke_right.eps
|
|
CLASS_FILES+= keystroke_right.pdf
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/${CLASSDIR}
|
|
${INSTALL_DATA} ${CLASS_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${PREFIX}/${CLASSDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${DOC_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${DOCSDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
${MKTEXLSR}
|
|
|
|
.include <bsd.port.mk>
|