summaryrefslogtreecommitdiff
path: root/textproc
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
commit8419723c6119ed28303467858573dc21f35c76fa (patch)
tree75556e79b85bafbb4dcde4e68cb0a5e4d901190d /textproc
parent2d2f7eb642517446e1e45a91b16e7a4030ab2185 (diff)
downloadpkgsrc-8419723c6119ed28303467858573dc21f35c76fa.tar.gz
Ensure interpreter is properly set in all places.
Implement test target to ease further updates.
Diffstat (limited to 'textproc')
-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"