pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/mlterm - Use PKG_SYSCONFDIR framework.
details: https://anonhg.NetBSD.org/pkgsrc/rev/aab20435a1cf
branches: trunk
changeset: 495302:aab20435a1cf
user: hira <hira%pkgsrc.org@localhost>
date: Mon Jun 06 16:13:51 2005 +0000
description:
- Use PKG_SYSCONFDIR framework.
- Use ${PKGLOCALEDIR}/locale instead of share/locale.
diffstat:
x11/mlterm/Makefile | 12 +++++++++++-
x11/mlterm/PLIST | 21 ++++-----------------
2 files changed, 15 insertions(+), 18 deletions(-)
diffs (68 lines):
diff -r bded87aac50b -r aab20435a1cf x11/mlterm/Makefile
--- a/x11/mlterm/Makefile Mon Jun 06 16:12:57 2005 +0000
+++ b/x11/mlterm/Makefile Mon Jun 06 16:13:51 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2005/06/01 18:03:29 jlam Exp $
+# $NetBSD: Makefile,v 1.32 2005/06/06 16:13:51 hira Exp $
DISTNAME= mlterm-2.9.2
CATEGORIES= x11
@@ -14,12 +14,22 @@
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
+USE_PKGLOCALEDIR= yes
+PKG_SYSCONFSUBDIR= mlterm
+
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --with-imagelib=gdk-pixbuf
CONFIGURE_ARGS+= --with-type-engines=xft
CONFIGURE_ARGS+= --without-libiconv-prefix
CONFIGURE_ARGS+= --without-libintl-prefix
+CONFIGURE_ARGS+= --datadir=${PREFIX}/${PKGLOCALEDIR}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
+
+.for _f in aafont color font key main menu taafont termcap tfont vaafont \
+ vfont xim
+CONF_FILES+= ${PKG_SYSCONFDIR}/${_f}
+.endfor
SUBST_CLASSES+= link
SUBST_MESSAGE.link= "Fixing hardcoded paths and link options."
diff -r bded87aac50b -r aab20435a1cf x11/mlterm/PLIST
--- a/x11/mlterm/PLIST Mon Jun 06 16:12:57 2005 +0000
+++ b/x11/mlterm/PLIST Mon Jun 06 16:13:51 2005 +0000
@@ -1,19 +1,7 @@
-@comment $NetBSD: PLIST,v 1.12 2005/03/06 17:50:49 hira Exp $
+@comment $NetBSD: PLIST,v 1.13 2005/06/06 16:13:51 hira Exp $
bin/mlcc
bin/mlclient
bin/mlterm
-etc/mlterm/aafont
-etc/mlterm/color
-etc/mlterm/font
-etc/mlterm/key
-etc/mlterm/main
-etc/mlterm/menu
-etc/mlterm/taafont
-etc/mlterm/termcap
-etc/mlterm/tfont
-etc/mlterm/vaafont
-etc/mlterm/vfont
-etc/mlterm/xim
lib/libkik.la
lib/libmkf.la
lib/mlterm/libathena.la
@@ -27,8 +15,7 @@
libexec/mlterm-menu
man/man1/mlclient.1
man/man1/mlterm.1
-share/locale/de/LC_MESSAGES/mlconfig.mo
-share/locale/ja/LC_MESSAGES/mlconfig.mo
-share/locale/zh_TW/LC_MESSAGES/mlconfig.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/mlconfig.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/mlconfig.mo
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/mlconfig.mo
@dirrm lib/mlterm
-@dirrm etc/mlterm
Home |
Main Index |
Thread Index |
Old Index