pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/dblatex Ensure interpreter is properly set in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b3035c18ccec
branches:  trunk
changeset: 610709:b3035c18ccec
user:      gls <gls%pkgsrc.org@localhost>
date:      Sat Nov 03 20:33:04 2012 +0000

description:
Ensure interpreter is properly set in all places.
Implement test target to ease further updates.

diffstat:

 textproc/dblatex/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 29bb79a047a1 -r b3035c18ccec textproc/dblatex/Makefile
--- a/textproc/dblatex/Makefile Sat Nov 03 20:18:53 2012 +0000
+++ b/textproc/dblatex/Makefile Sat Nov 03 20:33:04 2012 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2012/10/25 06:55:45 asau Exp $
+# $NetBSD: Makefile,v 1.13 2012/11/03 20:33:04 gls Exp $
 #
 
 DISTNAME=      dblatex-0.3.2
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=dblatex/}
 EXTRACT_SUFX=  .tar.bz2
@@ -20,7 +20,7 @@
 
 USE_LANGUAGES= # none
 
-REPLACE_PYTHON+=       lib/dbtexmf/dblatex/xetex/*.py
+REPLACE_PYTHON+=       scripts/dblatex lib/dbtexmf/dblatex/xetex/*.py
 
 SUBST_CLASSES+=                man
 SUBST_MESSAGE.man=     Fixing man page installation path.
@@ -29,6 +29,9 @@
 SUBST_SED.man+=                -e 's,share/man/man1,${PKGMANDIR}/man1,'
 SUBST_SED.man+=                -e "s,'python','${PYTHONBIN}',"
 
+do-test:
+       cd ${WRKSRC}/tests/mathml && gmake
+       
 .include "../../lang/python/application.mk"
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index