pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/fonts/t1lib Fix PLIST when the x11 option is disabled.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4786b6b51dc5
branches: trunk
changeset: 552444:4786b6b51dc5
user: minskim <minskim%pkgsrc.org@localhost>
date: Sun Jan 04 02:25:27 2009 +0000
description:
Fix PLIST when the x11 option is disabled.
diffstat:
fonts/t1lib/Makefile | 8 +++++++-
fonts/t1lib/PLIST | 8 ++++----
2 files changed, 11 insertions(+), 5 deletions(-)
diffs (40 lines):
diff -r b6624456eb93 -r 4786b6b51dc5 fonts/t1lib/Makefile
--- a/fonts/t1lib/Makefile Sun Jan 04 01:26:28 2009 +0000
+++ b/fonts/t1lib/Makefile Sun Jan 04 02:25:27 2009 +0000
@@ -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 @@
.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 -r b6624456eb93 -r 4786b6b51dc5 fonts/t1lib/PLIST
--- a/fonts/t1lib/PLIST Sun Jan 04 01:26:28 2009 +0000
+++ b/fonts/t1lib/PLIST Sun Jan 04 02:25:27 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index