summaryrefslogtreecommitdiff
path: root/textproc/dblatex/Makefile
diff options
context:
space:
mode:
authorjym <jym>2011-07-04 23:08:22 +0000
committerjym <jym>2011-07-04 23:08:22 +0000
commit9a2a9554118457053cfeb69bac6a7b4848b62961 (patch)
tree2bfb6a532a4bdb5e0a2e7dac2b240c307fe691c2 /textproc/dblatex/Makefile
parent067ca0aa573586770db3d62f978ba2770ca5744d (diff)
downloadpkgsrc-9a2a9554118457053cfeb69bac6a7b4848b62961.tar.gz
check-interpreter fix. Add patch-aa for dblatex interpreter fix, see
comment in file.
Diffstat (limited to 'textproc/dblatex/Makefile')
-rw-r--r--textproc/dblatex/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/textproc/dblatex/Makefile b/textproc/dblatex/Makefile
index 4a8fddb33b9..5ca8eb12f11 100644
--- a/textproc/dblatex/Makefile
+++ b/textproc/dblatex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2010/08/24 01:45:10 gls Exp $
+# $NetBSD: Makefile,v 1.8 2011/07/04 23:08:22 jym Exp $
#
DISTNAME= dblatex-0.3
@@ -21,6 +21,8 @@ DEPENDS+= tex-ifxetex-[0-9]*:../../print/tex-ifxetex
PYDISTUTILSPKG= yes
USE_LANGUAGES= # none
+REPLACE_PYTHON+= lib/dbtexmf/dblatex/xetex/*.py
+
SUBST_CLASSES+= man
SUBST_MESSAGE.man= Fixing man page installation path.
SUBST_STAGE.man= pre-configure
@@ -28,11 +30,6 @@ SUBST_FILES.man= setup.py
SUBST_SED.man+= -e 's,share/man/man1,${PKGMANDIR}/man1,'
SUBST_SED.man+= -e "s,'python','${PYTHONBIN}',"
-#SUBST_CLASSES+= path
-#SUBST_MESSAGE.path= Fixing python path.
-#SUBST_STAGE.path= pre-configure
-#SUBST_FILES.path= scripts/dblatex
-#SUBST_SED.path= -e 's,/usr/bin/env python,${PYTHONBIN},g'
-
+.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"