Shared directories can now be created independently by the pacakges needing them and will be removed automatically by pkg_delete when empty. Packages needing empty directories can use the @pkgdir command in PLIST. Discussed and ok'd in thread starting at http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
35 lines
890 B
Makefile
35 lines
890 B
Makefile
# $NetBSD: Makefile,v 1.8 2009/07/22 09:01:44 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= pgf-2.00
|
|
PKGNAME= tex-${DISTNAME}
|
|
CATEGORIES= print graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pgf/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pgf.sourceforge.net/
|
|
COMMENT= Graphic systems for TeX
|
|
|
|
DEPENDS= tex-xkeyval-[0-9]*:../../print/tex-xkeyval
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
.include "../../print/teTeX/module.mk"
|
|
|
|
do-build:
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/context && \
|
|
pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/tex/context/
|
|
cd ${WRKSRC}/doc/generic && \
|
|
pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/doc/generic/
|
|
cd ${WRKSRC}/generic && \
|
|
pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/tex/generic/
|
|
cd ${WRKSRC}/latex && \
|
|
pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/tex/latex/
|
|
cd ${WRKSRC}/plain && \
|
|
pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/tex/plain/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|