summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim>2011-03-03 21:05:42 +0000
committerminskim <minskim>2011-03-03 21:05:42 +0000
commitfe5bb8268eb765e8c65e4d8ce537462722a5e4ef (patch)
treec2b6a246e8218a7d1ac6dba1055062834ab28d37
parent6ffd34804ae204e73ab0641d0a43faa5feee9305 (diff)
downloadpkgsrc-fe5bb8268eb765e8c65e4d8ce537462722a5e4ef.tar.gz
Reduce dependencies of latex-mk. It does not need the entire teTeX.
-rw-r--r--print/latex-mk/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/print/latex-mk/Makefile b/print/latex-mk/Makefile
index b9a83311bab..517540ec74f 100644
--- a/print/latex-mk/Makefile
+++ b/print/latex-mk/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2010/12/31 21:55:50 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.23 2011/03/03 21:05:42 minskim Exp $
#
DISTNAME= latex-mk-2.1
+PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=latex-mk/}
@@ -11,6 +12,10 @@ COMMENT= Makefile fragments and scripts for managing LaTeX documents
LICENSE= original-bsd
+BUILD_DEPENDS+= tex-pdftex-[0-9]*:../../print/tex-pdftex
+BUILD_DEPENDS+= tex-latex-fonts-[0-9]*:../../fonts/tex-latex-fonts
+DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
+
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
@@ -20,11 +25,11 @@ GNU_CONFIGURE= YES
CONFIGURE_ENV+= BMAKE=${MAKE_PROGRAM:Q}
CONFIGURE_ENV+= GZCAT=${GZCAT:Q}
CONFIGURE_ENV+= GZIP=${GZIP_CMD:Q}
+MAKE_ENV+= PDFTEX=${LOCALBASE}/bin/pdfetex
INFO_FILES= yes
TEST_DIRS= ${WRKSRC}
TEST_TARGET= check
-.include "../../mk/tex.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"