summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-11 19:20:55 +0000
committerjoerg <joerg>2010-02-11 19:20:55 +0000
commit473c4a6345f5f83d7cd2a09db93fb48f9f11d0d6 (patch)
treeb38cc12655fc6905694dc1e29ce7a6d3ad77eea4 /misc
parent420e9555f265290f6b93989f9c2c6bb29bb15b56 (diff)
downloadpkgsrc-473c4a6345f5f83d7cd2a09db93fb48f9f11d0d6.tar.gz
DESTDIR support
Diffstat (limited to 'misc')
-rw-r--r--misc/iselect/Makefile10
-rw-r--r--misc/kanjipad/Makefile10
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"