summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorobache <obache>2011-03-21 02:36:40 +0000
committerobache <obache>2011-03-21 02:36:40 +0000
commit5e1b74cd9d1e03f0a0ea010bc4d87e1c5bb95215 (patch)
tree9be392f4d0264cd12985e268d26196173fc4ad63 /net
parentcbd59e488a788ed1a6d08a1b23a1832f1856dfee (diff)
downloadpkgsrc-5e1b74cd9d1e03f0a0ea010bc4d87e1c5bb95215.tar.gz
add user-destdir installation support.
Diffstat (limited to 'net')
-rw-r--r--net/nap/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/net/nap/Makefile b/net/nap/Makefile
index a4556d612a6..2c9717f0ef6 100644
--- a/net/nap/Makefile
+++ b/net/nap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/03/04 21:30:21 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2011/03/21 02:36:40 obache Exp $
DISTNAME= nap-1.4.4
PKGREVISION= 2
@@ -9,17 +9,20 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://nap.sourceforge.net/
COMMENT= Terminal based Napster client similar to ircII
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
# newterm()
INCOMPAT_CURSES= NetBSD-1.4*-*
INCOMPAT_CURSES+= NetBSD-1.5-* NetBSD-1.5.*-* NetBSD-1.5[A-Z]-*
+INSTALLATION_DIRS+= share/doc/nap share/examples/nap
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nap ${PREFIX}/share/examples/nap
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nap
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/nap
${INSTALL_DATA} ${WRKSRC}/nap.conf.dist \
- ${PREFIX}/share/examples/nap/nap.conf
+ ${DESTDIR}${PREFIX}/share/examples/nap/nap.conf
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"