aboutsummaryrefslogtreecommitdiffstats
path: root/devel/t1lib
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-03-02 16:16:23 +0800
committerdinoex <dinoex@FreeBSD.org>2004-03-02 16:16:23 +0800
commitdd32af68230e8b8257aceeb5e5591410ed6f0a98 (patch)
treead226e4b948cf0b59d0299dc2e9d18d9a7b54712 /devel/t1lib
parent166059274c4a84f19163d515512665bcca803025 (diff)
downloadfreebsd-ports-gnome-dd32af68230e8b8257aceeb5e5591410ed6f0a98.tar.gz
freebsd-ports-gnome-dd32af68230e8b8257aceeb5e5591410ed6f0a98.tar.zst
freebsd-ports-gnome-dd32af68230e8b8257aceeb5e5591410ed6f0a98.zip
- Fix package for option WITHOUT_X11
Diffstat (limited to 'devel/t1lib')
-rw-r--r--devel/t1lib/Makefile2
-rw-r--r--devel/t1lib/pkg-plist10
2 files changed, 7 insertions, 5 deletions
diff --git a/devel/t1lib/Makefile b/devel/t1lib/Makefile
index 74d7fdf06914..06eaf06e05b0 100644
--- a/devel/t1lib/Makefile
+++ b/devel/t1lib/Makefile
@@ -22,8 +22,10 @@ INSTALLS_SHLIB= yes
.if !defined(WITHOUT_X11)
USE_XLIB= yes
CONFIGURE_ARGS+= --with-x
+PLIST_SUB+= X11=""
.else
CONFIGURE_ARGS+= --without-x
+PLIST_SUB+= X11="@comment "
.endif
# DOCS depends on LaTeX and LaTeX-babel module
diff --git a/devel/t1lib/pkg-plist b/devel/t1lib/pkg-plist
index 96df056ea610..018e5cc2cf54 100644
--- a/devel/t1lib/pkg-plist
+++ b/devel/t1lib/pkg-plist
@@ -1,13 +1,13 @@
bin/type1afm
-bin/xglyph
+%%X11%%bin/xglyph
include/t1lib.h
-include/t1libx.h
+%%X11%%include/t1libx.h
lib/libt1.a
lib/libt1.so
lib/libt1.so.5
-lib/libt1x.a
-lib/libt1x.so
-lib/libt1x.so.5
+%%X11%%lib/libt1x.a
+%%X11%%lib/libt1x.so
+%%X11%%lib/libt1x.so.5
share/t1lib/doc/t1lib_doc.pdf
share/t1lib/t1lib.config
@dirrm share/t1lib/doc