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
34 lines
992 B
Makefile
34 lines
992 B
Makefile
# $NetBSD: Makefile,v 1.2 2009/07/22 09:01:43 wiz Exp $
|
|
|
|
DISTNAME= cooking
|
|
PKGNAME= tex-${DISTNAME}-0.9b
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://tug.ctan.org/tex-archive/macros/latex/contrib/cooking/
|
|
COMMENT= Typeset recipes
|
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
|
|
|
|
.include "../../print/teTeX/module.mk"
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && latex cooking.ins
|
|
cd ${WRKSRC} && latex cooking.dtx
|
|
cd ${WRKSRC} && latex cooking.dtx
|
|
cd ${WRKSRC} && latex cooking.dtx
|
|
cd ${WRKSRC} && latex kraut.tex
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/latex/cooking
|
|
.for __tmp__ in README cooking.dvi kraut.tex kraut.dvi
|
|
${INSTALL_DATA} ${WRKSRC}/${__tmp__} ${PKG_LOCALTEXMFPREFIX}/doc/latex/cooking
|
|
.endfor
|
|
${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/cooking
|
|
${INSTALL_DATA} ${WRKSRC}/cooking.sty \
|
|
${PKG_LOCALTEXMFPREFIX}/tex/latex/cooking
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|