summaryrefslogtreecommitdiff
path: root/misc/iselect
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-11 19:20:55 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-11 19:20:55 +0000
commitdad4fa685983909fc58e38fede5de3a44b43018a (patch)
treeb38cc12655fc6905694dc1e29ce7a6d3ad77eea4 /misc/iselect
parent2065e926f4b9b80f94208add6bf67ea03888e183 (diff)
downloadpkgsrc-dad4fa685983909fc58e38fede5de3a44b43018a.tar.gz
DESTDIR support
Diffstat (limited to 'misc/iselect')
-rw-r--r--misc/iselect/Makefile10
1 files changed, 9 insertions, 1 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"