summaryrefslogtreecommitdiff
path: root/textproc/dblatex
diff options
context:
space:
mode:
authorgls <gls@pkgsrc.org>2012-11-03 20:33:04 +0000
committergls <gls@pkgsrc.org>2012-11-03 20:33:04 +0000
commit8a8ed984bc725e1edbad9823d5cc483651e72be0 (patch)
tree75556e79b85bafbb4dcde4e68cb0a5e4d901190d /textproc/dblatex
parentd3a0d4ea69396ec9f878f11a05a29f5e33d7df08 (diff)
downloadpkgsrc-8a8ed984bc725e1edbad9823d5cc483651e72be0.tar.gz
Ensure interpreter is properly set in all places.
Implement test target to ease further updates.
Diffstat (limited to 'textproc/dblatex')
-rw-r--r--textproc/dblatex/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/textproc/dblatex/Makefile b/textproc/dblatex/Makefile
index e6d063de2dd..6b5b454f8f0 100644
--- a/textproc/dblatex/Makefile
+++ b/textproc/dblatex/Makefile
@@ -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 @@ DEPENDS+= tex-ifxetex-[0-9]*:../../print/tex-ifxetex
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_FILES.man= setup.py
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"