pkgsrc/graphics/xdvipresent/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

42 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2009/07/22 09:01:33 wiz Exp $
#
DISTNAME= xdvipresent-0.6p14
PKGNAME= xdvipresent-0.6.1.14
PKGREVISION= 5
CATEGORIES= graphics textproc print x11
MASTER_SITES= http://clip.dia.fi.upm.es/Software/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://clip.dia.fi.upm.es/Software/
COMMENT= Slide Presentations Using LaTeX/xdvi
DEPENDS+= latex2html>=2002.2:../../textproc/latex2html
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/xdvipresent
NO_BUILD= yes
NO_CONFIGURE= yes
STYDIR= ${PKG_LOCALTEXMFPREFIX}/tex/latex/xdvipresent
EXAMPLES_DIR= ${PREFIX}/share/examples/xdvipresent
HTML_DIR= ${PREFIX}/share/doc/xdvipresent
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${STYDIR}
${INSTALL_DATA} ${WRKSRC}/*.cls ${DESTDIR}${STYDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${STYDIR}/images
${INSTALL_DATA} ${WRKSRC}/images/* ${DESTDIR}${STYDIR}/images
${INSTALL_SCRIPT} ${WRKSRC}/xdvipresent ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/xdvipresent
${INSTALL_DATA} ${WRKSRC}/example.tex ${DESTDIR}${EXAMPLES_DIR}
${INSTALL_MAN} ${WRKSRC}/doc/xdvipresent.manl \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xdvipresent.1
${INSTALL_DATA_DIR} ${DESTDIR}${HTML_DIR}
${INSTALL_DATA} ${WRKSRC}/doc/xdvipresent_html/* ${DESTDIR}${HTML_DIR}
.include "../../print/teTeX/module.mk"
.include "../../mk/bsd.pkg.mk"