diff options
author | minskim <minskim> | 2009-01-04 02:25:27 +0000 |
---|---|---|
committer | minskim <minskim> | 2009-01-04 02:25:27 +0000 |
commit | 4226edfdcc57b4ccc52007848cf23855d9cfcc2b (patch) | |
tree | 925be266a35ef057a6b2ff004423019ede376ecf /fonts/t1lib | |
parent | 0f89191522f89d14287f2ff7d048016944580c5a (diff) | |
download | pkgsrc-4226edfdcc57b4ccc52007848cf23855d9cfcc2b.tar.gz |
Fix PLIST when the x11 option is disabled.
Diffstat (limited to 'fonts/t1lib')
-rw-r--r-- | fonts/t1lib/Makefile | 8 | ||||
-rw-r--r-- | fonts/t1lib/PLIST | 8 |
2 files changed, 11 insertions, 5 deletions
diff --git a/fonts/t1lib/Makefile b/fonts/t1lib/Makefile index 612e8c917eb..8b5d5d3f63d 100644 --- a/fonts/t1lib/Makefile +++ b/fonts/t1lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2008/11/10 17:21:35 wiz Exp $ +# $NetBSD: Makefile,v 1.40 2009/01/04 02:25:27 minskim Exp $ DISTNAME= t1lib-5.1.2 PKGREVISION= 1 @@ -25,6 +25,12 @@ CONF_FILES+= ${EGDIR}/FontDataBase ${DATADIR}/FontDataBase .include "options.mk" +PLIST_VARS+= x11 + +.if !empty(PKG_OPTIONS:Mx11) +PLIST.x11= yes +.endif + SUBST_CLASSES+= paths SUBST_FILES.paths= t1lib.config.sample SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX},g' diff --git a/fonts/t1lib/PLIST b/fonts/t1lib/PLIST index 15203d316ae..a8c5a411f11 100644 --- a/fonts/t1lib/PLIST +++ b/fonts/t1lib/PLIST @@ -1,10 +1,10 @@ -@comment $NetBSD: PLIST,v 1.10 2005/09/07 17:46:28 reed Exp $ +@comment $NetBSD: PLIST,v 1.11 2009/01/04 02:25:27 minskim Exp $ bin/type1afm -bin/xglyph +${PLIST.x11}bin/xglyph include/t1lib.h -include/t1libx.h +${PLIST.x11}include/t1libx.h lib/libt1.la -lib/libt1x.la +${PLIST.x11}lib/libt1x.la share/doc/${PKGBASE}/Makefile share/doc/${PKGBASE}/Makefile.in share/doc/${PKGBASE}/Tee.eps |