diff options
Diffstat (limited to 'misc/ja-man/Makefile')
-rw-r--r-- | misc/ja-man/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/misc/ja-man/Makefile b/misc/ja-man/Makefile index bd164c68ba4..f047c8c841e 100644 --- a/misc/ja-man/Makefile +++ b/misc/ja-man/Makefile @@ -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 @@ PLIST_SRC= ${WRKDIR}/PLIST 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 @@ INSTALLATION_DIRS+= ${PKGMANDIR}/${JAMANDIR}/man${c} INSTALL_DIRS+= man +CONF_FILES+= share/examples/jman.conf ${PKG_SYSCONFDIR}/jman.conf + .include "../../mk/bsd.prefs.mk" post-extract: @@ -46,7 +48,7 @@ post-patch: 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 @@ post-install: ${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 |