d70523df21
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
32 lines
931 B
Makefile
32 lines
931 B
Makefile
# $NetBSD: Makefile,v 1.2 2009/07/22 09:01:43 wiz Exp $
|
|
|
|
DISTNAME= abc
|
|
PKGNAME= tex-${DISTNAME}-1.0
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://tug.ctan.org/tex-archive/macros/latex/contrib/
|
|
COMMENT= Support ABC music notation in LaTeX
|
|
|
|
DEPENDS+= abcm2ps-[0-9]*:../../print/abcm2ps
|
|
DEPENDS+= ps2eps-[0-9]*:../../graphics/ps2eps
|
|
|
|
|
|
.include "../../print/teTeX/module.mk"
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && latex abc.ins
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/latex/abc
|
|
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/abc.pdf \
|
|
${PKG_LOCALTEXMFPREFIX}/doc/latex/abc
|
|
${INSTALL_DATA} ${WRKSRC}/example.tex \
|
|
${PKG_LOCALTEXMFPREFIX}/doc/latex/abc
|
|
${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX:Q}/tex/latex/abc
|
|
${INSTALL_DATA} ${WRKSRC}/abc.sty \
|
|
${PKG_LOCALTEXMFPREFIX}/tex/latex/abc
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|