diff options
author | minskim <minskim> | 2006-03-22 16:56:50 +0000 |
---|---|---|
committer | minskim <minskim> | 2006-03-22 16:56:50 +0000 |
commit | c691719c47e9e834a961413462824c996760d7b9 (patch) | |
tree | 98c866c1083f22e3a39d218ba7089325fdfe9ded | |
parent | 671461b112e7fbd21da2c596a0985134afc32cdb (diff) | |
download | pkgsrc-c691719c47e9e834a961413462824c996760d7b9.tar.gz |
If TEX_DEFAULT=teTeX3, set PKG_SKIP_REASON instead of PKG_FAIL_REASON
because this package is included in teTeX3.
-rw-r--r-- | print/tex-textpos/Makefile | 11 |
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" |