diff options
author | joerg <joerg@pkgsrc.org> | 2009-10-07 14:59:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-10-07 14:59:35 +0000 |
commit | c49647eeb03e1d62c31c2d3ca53b427bf9b594b5 (patch) | |
tree | f5445e335d08c6f39434d318abcbce147ae8748f | |
parent | 27edfcb04c6d0370ead64402b9293382ffb5bd32 (diff) | |
download | pkgsrc-c49647eeb03e1d62c31c2d3ca53b427bf9b594b5.tar.gz |
DESTDIR support. Fix build on NetBSD 5.0+
-rw-r--r-- | x11/xjman/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/x11/xjman/Makefile b/x11/xjman/Makefile index 7671a578639..0a3322c5a97 100644 --- a/x11/xjman/Makefile +++ b/x11/xjman/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2007/03/24 19:21:34 joerg Exp $ +# $NetBSD: Makefile,v 1.14 2009/10/07 14:59:35 joerg Exp $ DISTNAME= xjman-0.5 PKGREVISION= 2 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://xjman.dsl.gr.jp/ COMMENT= Japanized X manual from "The X Japanese Documentation Project" +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= ja-man-[0-9]*:../../misc/ja-man WRKSRC= ${WRKDIR}/man/ja_JP.eucJP @@ -18,6 +20,8 @@ PLIST_SRC= ${WRKDIR}/PLIST XJMANDIR= man/ja_JP.EUC MAKE_ENV+= XJMANDIR=${XJMANDIR:Q} +USE_BSD_MAKEFILE= yes + NO_CONFIGURE= yes MANCOMPRESSED_IF_MANZ= yes @@ -65,12 +69,14 @@ post-build: .endif INSTALLATION_DIRS= ${PKGMANDIR}/ja_JP.EUC/cat1 ${PKGMANDIR}/ja_JP.EUC/man1 \ - ${PKGMANDIR}/ja_JP.EUC/cat3 ${PKGMANDIR}/ja_JP.EUC/man3 share/doc/xjman + ${PKGMANDIR}/ja_JP.EUC/cat3 ${PKGMANDIR}/ja_JP.EUC/man3 \ + ${PKGMANDIR}/ja_JP.EUC/cat5 ${PKGMANDIR}/ja_JP.EUC/man5 \ + share/doc/xjman post-install: .for i in COPYRIGHT COPYRIGHT.XJDP - @${INSTALL_DATA} ${FILESDIR}/${i} ${PREFIX}/share/doc/xjman + @${INSTALL_DATA} ${FILESDIR}/${i} ${DESTDIR}${PREFIX}/share/doc/xjman .endfor - @${INSTALL_DATA} ${WRKDIR}/man/README ${PREFIX}/share/doc/xjman + @${INSTALL_DATA} ${WRKDIR}/man/README ${DESTDIR}${PREFIX}/share/doc/xjman .include "../../mk/bsd.pkg.mk" |