freebsd-ports/print/examplep/Makefile
Pawel Pekala 1f83322899 The examplep LaTeX package provides sophisticated features
for typesetting verbatim source code listings, including the display
of the source code and its compiled LaTeX or METAPOST output
 side-by-side, with automatic width detection and enabled page breaks
(in the source), without the need for specifying the source twice.

WWW: http://www.ctan.org/tex-archive/macros/latex2e/contrib/examplep

PR:		ports/167788
Submitted by:	Hiroto Kagotani <hiroto.kagotani@gmail.com>
2012-05-19 09:21:41 +00:00

48 lines
1.2 KiB
Makefile

# New ports collection makefile for: examplep
# Date created: 2012-05-11
# Whom: Hiroto Kagotani <hiroto.kagotani@gmail.com>
#
# $FreeBSD$
PORTNAME= examplep
PORTVERSION= 0.04
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= macros/latex2e/contrib/
DISTNAME= ${PORTNAME}
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= LaTeX style files for typesetting verbatim source code listings
BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_ZIP= yes
PLIST= ${WRKDIR}/pkg-plist
TEXMFDIR= share/texmf-local
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
CLASSDIR= ${TEXMFDIR}/tex/latex/${PORTNAME}
CLASS_FILES= ${PORTNAME}.sty codep.sty verbfwr.sty
do-build:
pre-install:
${RM} -f ${PLIST}
.for F in ${CLASS_FILES}
${ECHO_CMD} "${CLASSDIR}/${F}" >> ${PLIST}
.endfor
${ECHO_CMD} "@dirrm ${CLASSDIR}" >> ${PLIST}
${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST}
${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST}
do-install:
@${MKDIR} ${PREFIX}/${CLASSDIR}
${ECHO_CMD} ${CLASS_FILES}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
post-install:
${MKTEXLSR}
.include <bsd.port.mk>