summaryrefslogtreecommitdiff
path: root/devel/doxygen
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-09-27 01:30:38 +0000
committerminskim <minskim@pkgsrc.org>2009-09-27 01:30:38 +0000
commitcb73e7e64d88906269018361f7074f4aaae6632a (patch)
tree392184ba8b20747f1f30659be979e1986b42c3ca /devel/doxygen
parent2b954ee25449a6f3b910a3bc8699dc18a17ff643 (diff)
downloadpkgsrc-cb73e7e64d88906269018361f7074f4aaae6632a.tar.gz
- Explicitly depend on texlive-pdftools to use epstopdf.
- Invoke epstopdf using the absolute path.
Diffstat (limited to 'devel/doxygen')
-rw-r--r--devel/doxygen/Makefile20
-rw-r--r--devel/doxygen/distinfo4
-rw-r--r--devel/doxygen/patches/patch-af13
3 files changed, 28 insertions, 9 deletions
diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile
index b7ac6141a1a..30872fe43b7 100644
--- a/devel/doxygen/Makefile
+++ b/devel/doxygen/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.72 2009/09/22 20:11:45 snj Exp $
+# $NetBSD: Makefile,v 1.73 2009/09/27 01:30:38 minskim Exp $
DISTNAME= doxygen-1.6.1.src
PKGNAME= ${DISTNAME:S/.src//}
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/ \
http://ftp.stack.nl/pub/users/dimitri/
@@ -12,6 +13,7 @@ COMMENT= Documentation system for C++, Java, IDL and C
LICENSE= gnu-gpl-v2
DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
+DEPENDS+= texlive-pdftools-[0-9]*:../../print/texlive-pdftools
PKG_DESTDIR_SUPPORT= user-destdir
@@ -32,10 +34,11 @@ MAKE_FLAGS+= MAN1DIR=${PKGMANDIR}/man1
PLIST_VARS+= ci cs
-SUBST_CLASSES+= pybin
-SUBST_STAGE.pybin= pre-configure
-SUBST_FILES.pybin= doc/Makefile.in
-SUBST_SED.pybin= -e "s|@PYTHONBIN@|${PYTHONBIN}|g"
+SUBST_CLASSES+= path
+SUBST_STAGE.path= pre-configure
+SUBST_FILES.path= doc/Makefile.in
+SUBST_SED.path= -e "s|@EPSTOPDF@|${LOCALBASE}/bin/epstopdf|g" \
+ -e "s|@PYTHONBIN@|${PYTHONBIN}|g"
SUBST_CLASSES+= perlbin
SUBST_STAGE.perlbin= pre-configure
@@ -43,6 +46,13 @@ SUBST_MESSAGE.perlbin= Fixing hardcoded path to the Perl interpreter
SUBST_FILES.perlbin= examples/tag.cfg
SUBST_SED.perlbin= -e 's,^PERL_PATH.*,PERL_PATH = ${PERL5},'
+SUBST_CLASSES+= epstopdf
+SUBST_STAGE.epstopdf= pre-configure
+SUBST_MESSAGE.epstopdf= Fixing path to epstopdf
+SUBST_FILES.epstopdf= src/diagram.cpp src/docparser.cpp src/dot.cpp \
+ src/msc.cpp
+SUBST_SED.epstopdf= -e 's,"epstopdf","${LOCALBASE}/bin/epstopdf",g'
+
PRIVILEGED_STAGES+= clean
INSTALL_TARGET= install install_docs
diff --git a/devel/doxygen/distinfo b/devel/doxygen/distinfo
index 385686d6dac..8cf9d4645f2 100644
--- a/devel/doxygen/distinfo
+++ b/devel/doxygen/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.37 2009/08/26 11:48:24 wiz Exp $
+$NetBSD: distinfo,v 1.38 2009/09/27 01:30:38 minskim Exp $
SHA1 (doxygen-1.6.1.src.tar.gz) = 31f861841eba1ebdded1b4bf70bdecb42441dafd
RMD160 (doxygen-1.6.1.src.tar.gz) = 0a9c5962dbd076bac418b85b72a4874576c9da4d
@@ -6,6 +6,6 @@ Size (doxygen-1.6.1.src.tar.gz) = 3902407 bytes
SHA1 (patch-aa) = 74aa6e068c150d2e40c5a73723afd24d510f4538
SHA1 (patch-ab) = 951ad787ec32cf5dd3915d91df1fb45bc199ec79
SHA1 (patch-ac) = 5523e5b146436a50b008f963a0b809379a9e4974
-SHA1 (patch-af) = 5911fcc07b4165bb78b1618545e15c6da8d379f7
+SHA1 (patch-af) = 0942cc0fdcb49e74ce018d7e790dba36b21b4d08
SHA1 (patch-ag) = a7cf7cd0b510e9a8293e5f8a43517cfc80a60d15
SHA1 (patch-ah) = 8ec4502a6324cbdb4821887bcfe808f086aaa78b
diff --git a/devel/doxygen/patches/patch-af b/devel/doxygen/patches/patch-af
index 4fcc869b4b1..d0df5ba7519 100644
--- a/devel/doxygen/patches/patch-af
+++ b/devel/doxygen/patches/patch-af
@@ -1,7 +1,16 @@
-$NetBSD: patch-af,v 1.3 2008/11/11 00:44:12 wiz Exp $
+$NetBSD: patch-af,v 1.4 2009/09/27 01:30:38 minskim Exp $
---- doc/Makefile.in.orig 2008-01-01 10:39:53.000000000 +0000
+--- doc/Makefile.in.orig 2008-12-06 13:16:23.000000000 +0000
+++ doc/Makefile.in
+@@ -23,7 +23,7 @@ all: language FORCE
+ @cp Makefile.latex ../latex/Makefile
+ @sed -e "s/\$$VERSION/$(VERSION)/g" doxygen_manual.tex >../latex/doxygen_manual.tex
+ @sed -e "s/\$$VERSION/$(VERSION)/g" doxygen.sty >../latex/doxygen.sty
+- @epstopdf doxygen_logo.eps --outfile=../latex/doxygen_logo.pdf
++ @@EPSTOPDF@ doxygen_logo.eps --outfile=../latex/doxygen_logo.pdf
+
+ clean:
+ rm -rf ../html ../latex *.bak
@@ -31,6 +31,6 @@ clean:
language: language.doc