pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/ja-man Honor PKG_SYSCONFDIR and switch to use CON...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3b7f3dec7469
branches: trunk
changeset: 538704:3b7f3dec7469
user: obache <obache%pkgsrc.org@localhost>
date: Sun Feb 17 02:23:52 2008 +0000
description:
Honor PKG_SYSCONFDIR and switch to use CONF_FILES framework.
Bump PKGREVISION.
diffstat:
misc/ja-man/Makefile | 12 +++++++-----
misc/ja-man/PLIST | 4 ++--
2 files changed, 9 insertions(+), 7 deletions(-)
diffs (69 lines):
diff -r bb753d738f79 -r 3b7f3dec7469 misc/ja-man/Makefile
--- a/misc/ja-man/Makefile Sun Feb 17 01:15:38 2008 +0000
+++ b/misc/ja-man/Makefile Sun Feb 17 02:23:52 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2008/02/16 11:13:44 obache Exp $
+# $NetBSD: Makefile,v 1.14 2008/02/17 02:23:52 obache Exp $
DISTNAME= NetBSD1.3I-jman-19990531
PKGNAME= ja-man-19990531
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= japanese misc
MASTER_SITES= ${MASTER_SITE_BACKUP}
@@ -26,7 +26,7 @@
USE_TOOLS+= patch
USE_BSD_MAKE= yes
MANCOMPRESSED_IF_MANZ= yes
-INSTALLATION_DIRS= bin etc share/groff/tmac/mdoc
+INSTALLATION_DIRS= bin share/groff/tmac/mdoc share/examples
.for c in 1 2 3 4 5 6 7 8 9
INSTALLATION_DIRS+= ${PKGMANDIR}/${JAMANDIR}/cat${c}
INSTALLATION_DIRS+= ${PKGMANDIR}/${JAMANDIR}/man${c}
@@ -34,6 +34,8 @@
INSTALL_DIRS+= man
+CONF_FILES+= share/examples/jman.conf ${PKG_SYSCONFDIR}/jman.conf
+
.include "../../mk/bsd.prefs.mk"
post-extract:
@@ -46,7 +48,7 @@
do-build:
sed -e 's|$${BINDIR}|${PREFIX}/bin|g' \
- -e 's|$${JMANCONFDIR}|${PREFIX}/etc|g' ${WRKSRC}/jman/jman.sh \
+ -e 's|$${JMANCONFDIR}|${PKG_SYSCONFDIR}|g' ${WRKSRC}/jman/jman.sh \
> ${WRKSRC}/jman/jman
sed -e 's|$${PREFIX}|${PREFIX}|g' \
-e 's|$${LOCALBASE}|${LOCALBASE}|g' \
@@ -77,7 +79,7 @@
${DESTDIR}${PREFIX}/share/groff/tmac/$${f}j; \
done
${INSTALL_SCRIPT} ${WRKSRC}/jman/jman ${DESTDIR}${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/jman/jman.conf.t ${DESTDIR}${PREFIX}/etc/jman.conf
+ ${INSTALL_DATA} ${WRKSRC}/jman/jman.conf.t ${DESTDIR}${PREFIX}/share/examples/jman.conf
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/jman
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/jman
diff -r bb753d738f79 -r 3b7f3dec7469 misc/ja-man/PLIST
--- a/misc/ja-man/PLIST Sun Feb 17 01:15:38 2008 +0000
+++ b/misc/ja-man/PLIST Sun Feb 17 02:23:52 2008 +0000
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/31 13:01:23 seb Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/02/17 02:23:52 obache Exp $
bin/jman
-etc/jman.conf
man/${JAMANDIR}/cat1/Mail.0
man/${JAMANDIR}/cat1/[.0
man/${JAMANDIR}/cat1/addftinfo.0
@@ -1604,6 +1603,7 @@
man/${JAMANDIR}/man9/wakeup.9
man/${JAMANDIR}/man9/writedisklabel.9
share/doc/jman/README
+share/examples/jman.conf
@dirrm share/doc/jman
share/groff/tmac/mdoc/doc-commonj
share/groff/tmac/mdoc/doc-ditroffj
Home |
Main Index |
Thread Index |
Old Index