summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-03-22 16:56:50 +0000
committerminskim <minskim@pkgsrc.org>2006-03-22 16:56:50 +0000
commite631b2d14ed088451c88821b154b7e87589a86e1 (patch)
tree98c866c1083f22e3a39d218ba7089325fdfe9ded /print
parent532fe9ddd09282958083b46a7051d206bf193564 (diff)
downloadpkgsrc-e631b2d14ed088451c88821b154b7e87589a86e1.tar.gz
If TEX_DEFAULT=teTeX3, set PKG_SKIP_REASON instead of PKG_FAIL_REASON
because this package is included in teTeX3.
Diffstat (limited to 'print')
-rw-r--r--print/tex-textpos/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/print/tex-textpos/Makefile b/print/tex-textpos/Makefile
index 5c2d740b72d..05368d5a21f 100644
--- a/print/tex-textpos/Makefile
+++ b/print/tex-textpos/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/03/13 07:11:19 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2006/03/22 16:56:50 minskim Exp $
#
NAME= textpos
@@ -23,6 +23,14 @@ CONFLICTS+= teTeX-bin>=3.0
NO_CONFIGURE= yes
NO_BUILD= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${TEX_DEFAULT} == "teTeX3"
+PKG_SKIP_REASON+= "textpos is included in ${TEX_DEFAULT}."
+.else
+.include "../../mk/tex.buildlink3.mk"
+.endif
+
do-extract:
do-install:
@@ -36,5 +44,4 @@ post-install:
cd ${PKG_LOCALTEXMFPREFIX}/tex/latex/textpos; latex textpos.ins
${LOCALBASE}/bin/texconfig rehash
-.include "../../mk/tex.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"