diff options
Diffstat (limited to 'converters/cn2jp/Makefile')
-rw-r--r-- | converters/cn2jp/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/converters/cn2jp/Makefile b/converters/cn2jp/Makefile index 6778e2a6aba..c713cc38c6e 100644 --- a/converters/cn2jp/Makefile +++ b/converters/cn2jp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2009/06/30 00:07:12 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2010/01/29 16:43:34 joerg Exp $ DISTNAME= cn2jp1.4b PKGNAME= cn2jp-1.4b @@ -11,6 +11,7 @@ MAINTAINER= rxg@NetBSD.org # HOMEPAGE= http://w3.sys.es.osaka-u.ac.jp/~seke/software/cn2jp/ COMMENT= Library for code translation between Chinese and Japanese +PKG_DESTDIR_SUPPORT= user-destdir MAKE_JOBS_SAFE= no WRKSRC= ${WRKDIR}/cn2jp @@ -18,12 +19,12 @@ USE_LIBTOOL= yes USE_TOOLS+= gmake NO_CONFIGURE= yes -AUTO_MKDIRS= yes + +INSTALLATION_DIRS+= bin include lib share/doc/cn2jp post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cn2jp - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cn2jp - ${INSTALL_DATA} ${WRKSRC}/lib/jp-util.h ${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/lib/lang-util.h ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/cn2jp + ${INSTALL_DATA} ${WRKSRC}/lib/jp-util.h ${DESTDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/lib/lang-util.h ${DESTDIR}${PREFIX}/include .include "../../mk/bsd.pkg.mk" |