diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 18:25:52 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 18:25:52 +0000 |
commit | 80c7fb273d8e710ea174cde389ccea199e8a754b (patch) | |
tree | 94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/ng | |
parent | 38c8b857b2a15de072b4fa8baf0650634b5be996 (diff) | |
download | pkgsrc-80c7fb273d8e710ea174cde389ccea199e8a754b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'editors/ng')
-rw-r--r-- | editors/ng/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/editors/ng/Makefile b/editors/ng/Makefile index 5052a18240d..6585a27ab1b 100644 --- a/editors/ng/Makefile +++ b/editors/ng/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/02/22 19:26:26 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/03 18:25:53 jlam Exp $ DISTNAME= ng-1.4.3 PKGREVISION= 1 @@ -9,6 +9,8 @@ MAINTAINER= fk200329@fsinet.or.jp HOMEPAGE= http://tt.sakura.ne.jp/~amura/ng/ COMMENT= Very light Emacs-clone with japanese support +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/ng PKG_SUPPORTED_OPTIONS= canna @@ -30,17 +32,15 @@ post-patch: @(cd ${WRKSRC}; ${LN} -s sys/bsd/Makefile . ) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ng ${PREFIX}/bin/ - -post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ng - ${INSTALL_DATA} ${WRKSRC}/docs/Ng.FAQ ${PREFIX}/share/doc/ng/Ng.FAQ.euc-jp - ${INSTALL_DATA} ${WRKSRC}/docs/Ng.doc ${PREFIX}/share/doc/ng/Ng.doc.euc-jp - ${INSTALL_DATA} ${WRKSRC}/docs/Ng.ref ${PREFIX}/share/doc/ng/Ng.ref.euc-jp - ${INSTALL_DATA} ${WRKSRC}/docs/Ng.tut ${PREFIX}/share/doc/ng/Ng.tut.euc-jp - ${INSTALL_DATA} ${WRKSRC}/docs/README.Ng ${PREFIX}/share/doc/ng/README.Ng.euc-jp - ${INSTALL_DATA} ${WRKSRC}/docs/README.SKG ${PREFIX}/share/doc/ng/README.SKG.euc-jp - ${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.new ${PREFIX}/share/doc/ng/CHANGES.new.euc-jp - ${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.doc ${PREFIX}/share/doc/ng/CHANGES.doc.euc-jp + ${INSTALL_PROGRAM} ${WRKSRC}/ng ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ng + ${INSTALL_DATA} ${WRKSRC}/docs/Ng.FAQ ${DESTDIR}${PREFIX}/share/doc/ng/Ng.FAQ.euc-jp + ${INSTALL_DATA} ${WRKSRC}/docs/Ng.doc ${DESTDIR}${PREFIX}/share/doc/ng/Ng.doc.euc-jp + ${INSTALL_DATA} ${WRKSRC}/docs/Ng.ref ${DESTDIR}${PREFIX}/share/doc/ng/Ng.ref.euc-jp + ${INSTALL_DATA} ${WRKSRC}/docs/Ng.tut ${DESTDIR}${PREFIX}/share/doc/ng/Ng.tut.euc-jp + ${INSTALL_DATA} ${WRKSRC}/docs/README.Ng ${DESTDIR}${PREFIX}/share/doc/ng/README.Ng.euc-jp + ${INSTALL_DATA} ${WRKSRC}/docs/README.SKG ${DESTDIR}${PREFIX}/share/doc/ng/README.SKG.euc-jp + ${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.new ${DESTDIR}${PREFIX}/share/doc/ng/CHANGES.new.euc-jp + ${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.doc ${DESTDIR}${PREFIX}/share/doc/ng/CHANGES.doc.euc-jp .include "../../mk/bsd.pkg.mk" |