diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 19:20:55 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 19:20:55 +0000 |
commit | dad4fa685983909fc58e38fede5de3a44b43018a (patch) | |
tree | b38cc12655fc6905694dc1e29ce7a6d3ad77eea4 /misc | |
parent | 2065e926f4b9b80f94208add6bf67ea03888e183 (diff) | |
download | pkgsrc-dad4fa685983909fc58e38fede5de3a44b43018a.tar.gz |
DESTDIR support
Diffstat (limited to 'misc')
-rw-r--r-- | misc/iselect/Makefile | 10 | ||||
-rw-r--r-- | misc/kanjipad/Makefile | 10 |
2 files changed, 15 insertions, 5 deletions
diff --git a/misc/iselect/Makefile b/misc/iselect/Makefile index 46dd4969b86..78c014ad6ca 100644 --- a/misc/iselect/Makefile +++ b/misc/iselect/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2008/01/04 07:12:30 obache Exp $ +# $NetBSD: Makefile,v 1.22 2010/02/11 19:20:55 joerg Exp $ # DISTNAME= iselect-1.2.0 @@ -11,10 +11,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.ossp.org/pkg/tool/iselect/ COMMENT= Curses based Interactive Selection Tool +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes +INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 + post-configure: ${TOUCH} ${WRKSRC}/config_ac.h.in +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/iselect ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/iselect.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/misc/kanjipad/Makefile b/misc/kanjipad/Makefile index 952b6ea5a5e..e6d4f4efef3 100644 --- a/misc/kanjipad/Makefile +++ b/misc/kanjipad/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2009/08/26 19:58:01 sno Exp $ +# $NetBSD: Makefile,v 1.21 2010/02/11 19:24:10 joerg Exp $ # DISTNAME= kanjipad-2.0.0 @@ -10,12 +10,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://fishsoup.net/software/kanjipad/ COMMENT= Japanese handwriting recognition +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake perl pkg-config -.include "../../x11/gtk2/buildlink3.mk" +INSTALLATION_DIRS+= share/doc/kanjipad post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/kanjipad - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/kanjipad + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/kanjipad +.include "../../x11/gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |