2007-01-04 21:48:19 +00:00
|
|
|
# New ports collection makefile for: latex-pgf
|
|
|
|
# Date created: 24 Jan 2004
|
|
|
|
# Whom: hrs@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= latex-pgf
|
2007-03-30 01:31:10 +00:00
|
|
|
PORTVERSION= 1.10
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 1
|
2007-01-04 21:48:19 +00:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2007-03-30 01:31:10 +00:00
|
|
|
MASTER_SITE_SUBDIR= pgf
|
2007-01-04 21:48:19 +00:00
|
|
|
DISTNAME= ${PORTNAME:S/^latex-//}-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
|
|
COMMENT= A LaTeX package for TeX Portable Graphic Format
|
|
|
|
|
2007-03-30 01:31:10 +00:00
|
|
|
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base
|
|
|
|
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
|
2007-01-04 21:48:19 +00:00
|
|
|
|
|
|
|
NO_BUILD= YES
|
|
|
|
PLIST_SUB= MKTEXLSR=${MKTEXLSR} \
|
|
|
|
CLASSDIR=${CLASSDIR} \
|
|
|
|
TEXMFDIR=${TEXMFDIR}
|
|
|
|
|
|
|
|
TEXMFDIR= share/texmf
|
|
|
|
TEXMFDIR_LSR= ${LOCALBASE}/${TEXMFDIR}/ls-R
|
|
|
|
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}-${PORTVERSION}
|
|
|
|
CLASSDIR= ${TEXMFDIR}/tex
|
|
|
|
|
|
|
|
do-install:
|
2007-03-30 01:31:10 +00:00
|
|
|
.for C in context generic latex plain
|
2007-01-04 21:48:19 +00:00
|
|
|
${MKDIR} ${PREFIX}/${CLASSDIR}/${C}/${PORTNAME:S/^latex-//}
|
|
|
|
${CP} -R ${WRKSRC}/${C}/pgf/* \
|
|
|
|
${PREFIX}/${CLASSDIR}/${C}/${PORTNAME:S/^latex-//}
|
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${CP} -R ${WRKSRC}/doc/generic/pgf/* ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|