pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/fricas Improve PLIST maintainance.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d9b0b0a45350
branches: trunk
changeset: 400731:d9b0b0a45350
user: asau <asau%pkgsrc.org@localhost>
date: Mon Oct 26 07:53:39 2009 +0000
description:
Improve PLIST maintainance.
diffstat:
math/fricas/options.mk | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 0f6d1f9913e4 -r d9b0b0a45350 math/fricas/options.mk
--- a/math/fricas/options.mk Mon Oct 26 07:38:21 2009 +0000
+++ b/math/fricas/options.mk Mon Oct 26 07:53:39 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2009/02/19 20:31:44 asau Exp $
+# $NetBSD: options.mk,v 1.4 2009/10/26 07:53:39 asau Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fricas
PKG_OPTIONS_REQUIRED_GROUPS= lisp
@@ -36,10 +36,25 @@
# Handle CLISP-specific files
PRINT_PLIST_AWK+= {if ($$0 ~ /\.lib$$/) {$$0 = "$${clisp}" $$0;}}
.endif
+.if !empty(PKG_OPTIONS:Mecl)
+# Handle ECL-specific files
+PRINT_PLIST_AWK+= {if ($$0 ~ /\.o$$/) {$$0 = "$${ecl}" $$0;}}
+.endif
# X11-only files:
.if !empty(PKG_OPTIONS:Mx11)
-PRINT_PLIST_AWK+= {if ($$0 ~ /\/share\/viewports\// || $$0 ~ /\.(bitmap|xbm|xbm.tiny|bm|bakmap|xpm|ht|pht|ps)$$/) {$$0 = "$${x11}" $$0;}}
+PRINT_PLIST_AWK+= {if ($$0 !~ /^\$${x11}/ && $$0 ~ /\/share\/viewports\// || $$0 ~ /\.(bitmap|xbm|xbm.tiny|bm|bakmap|xpm|ht|pht|ps)$$/) {$$0 = "$${x11}" $$0;}}
+# ...where "util.ht" is false positive.
+# files in lib/.../bin
+.for _file_ in htadd hypertex viewAlone
+PRINT_PLIST_AWK+= {if ($$0 !~ /^\$${x11}/ && $$0 ~ /\/bin\/${_file_}$$/) {$$0 = "$${x11}" $$0;}}
+.endfor
+# files in lib/.../lib
+.for _file_ in ex2ht hthits htsearch presea spadbuf view2D view3D viewman
+PRINT_PLIST_AWK+= {if ($$0 !~ /^\$${x11}/ && $$0 ~ /\/lib\/${_file_}$$/) {$$0 = "$${x11}" $$0;}}
+.endfor
+# Postscript files in lib/.../lib/graph:
+PRINT_PLIST_AWK+= {if ($$0 !~ /^\$${x11}/ && $$0 ~ /\/lib\/graph\/.*\.ps$$/) {$$0 = "$${x11}" $$0;}}
.endif
# X11
Home |
Main Index |
Thread Index |
Old Index