diff options
Diffstat (limited to 'math/texdrive/Makefile')
-rw-r--r-- | math/texdrive/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/math/texdrive/Makefile b/math/texdrive/Makefile new file mode 100644 index 00000000000..f16966a4e86 --- /dev/null +++ b/math/texdrive/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/12/09 12:19:59 wiz Exp $ +# + +DISTNAME= texdrive +PKGNAME= texdrive-0.0.20081126.171834 +CATEGORIES= math +MASTER_SITES= http://www.djcbsoftware.nl/code/texdrive/ +EXTRACT_SUFX= .el + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.djcbsoftware.nl/code/texdrive/ +COMMENT= Emacs mode for creating inline formulae for HTML + +DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX3-bin +DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick + +PKG_DESTDIR_SUPPORT= user-destdir + +DIST_SUBDIR= ${PKGNAME_NOREV} +WRKSRC= ${WRKDIR} +USE_LANGUAGES= # none +MESSAGE_SUBST+= LISPDIR=${EMACS_LISPPREFIX:Q} + +do-build: + cd ${WRKSRC} && ${EMACS_BIN} -batch -f batch-byte-compile texdrive.el + +do-install: + ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX} + ${INSTALL_DATA} ${WRKSRC}/texdrive.* ${DESTDIR}${EMACS_LISPPREFIX} + +.include "../../editors/emacs/modules.mk" +.include "../../mk/bsd.pkg.mk" |