pkgsrc/print/tex-glossaries/Makefile
wiz d70523df21 Remove USE_DIRS from pkgsrc.
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
2009-07-22 09:01:16 +00:00

49 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2009/07/22 09:01:44 wiz Exp $
DISTNAME= glossaries
PKGNAME= tex-${DISTNAME}-1.02
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/}
EXTRACT_SUFX= .zip
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www.ctan.org/tex-archive/help/Catalogue/entries/glossaries.html
COMMENT= Macros for creation of glossaries
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= tex-xkeyval>=2.5f:../../print/tex-xkeyval
DIST_SUBDIR= ${PKGNAME_NOREV}
USE_TOOLS+= perl:run
REPLACE_PERL= scripts/makeglossaries
INSTALLATION_DIRS= bin
.include "../../print/teTeX/module.mk"
do-build:
cd ${WRKSRC} && latex glossaries.ins
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/makeglossaries \
${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} \
${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/glossaries
${INSTALL_DATA} ${WRKSRC}/doc/glossaries.pdf \
${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/glossaries
${INSTALL_DATA_DIR} \
${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
${INSTALL_DATA} ${WRKSRC}/glossaries.sty \
${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
${INSTALL_DATA} ${WRKSRC}/glossary-hypernav.sty \
${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
${INSTALL_DATA} ${WRKSRC}/glossary-list.sty \
${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
${INSTALL_DATA} ${WRKSRC}/glossary-long.sty \
${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
${INSTALL_DATA} ${WRKSRC}/glossary-super.sty \
${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/glossaries
.include "../../mk/bsd.pkg.mk"