diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2007-01-04 21:48:19 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2007-01-04 21:48:19 +0000 |
commit | 810c4f5f9ddbca92ea9e0ea0bbe4fc5b433cc29f (patch) | |
tree | 3125a241b9dd4b90ad08f504f8d676aef64eb890 /print/latex-pgf/Makefile | |
parent | 599a1b5a3f1f7a040bce5c8b4b614b6f34741402 (diff) | |
download | ports-810c4f5f9ddbca92ea9e0ea0bbe4fc5b433cc29f.tar.gz ports-810c4f5f9ddbca92ea9e0ea0bbe4fc5b433cc29f.zip |
Notes
Diffstat (limited to 'print/latex-pgf/Makefile')
-rw-r--r-- | print/latex-pgf/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/print/latex-pgf/Makefile b/print/latex-pgf/Makefile new file mode 100644 index 000000000000..b0a6b235aa7a --- /dev/null +++ b/print/latex-pgf/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: latex-pgf +# Date created: 24 Jan 2004 +# Whom: hrs@FreeBSD.org +# +# $FreeBSD$ + +PORTNAME= latex-pgf +PORTVERSION= 1.01 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= latex-beamer +DISTNAME= ${PORTNAME:S/^latex-//}-${PORTVERSION} + +MAINTAINER= hrs@FreeBSD.org +COMMENT= A LaTeX package for TeX Portable Graphic Format + +BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \ + ${TEXMFDIR_LSR}:${PORTSDIR}/print/tex-texmflocal +RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \ + ${TEXMFDIR_LSR}:${PORTSDIR}/print/tex-texmflocal + +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: +.for C in generic latex plain + ${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> |