summaryrefslogtreecommitdiff
path: root/net/openag
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-11 22:24:33 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-11 22:24:33 +0000
commite595ea97dfce4d208fbde7edf0a860365fca5809 (patch)
tree1e5615f84713026ae761d8b8d5bf57b7a022a630 /net/openag
parent90d6db33982ffaef9c59afa2f93c5970684a1906 (diff)
downloadpkgsrc-e595ea97dfce4d208fbde7edf0a860365fca5809.tar.gz
DESTDIR support
Diffstat (limited to 'net/openag')
-rw-r--r--net/openag/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/openag/Makefile b/net/openag/Makefile
index 95322cd597f..833ade06e85 100644
--- a/net/openag/Makefile
+++ b/net/openag/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/02/22 19:01:23 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2010/02/11 22:28:40 joerg Exp $
#
DISTNAME= OpenAG-1.1.1
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/openags/
COMMENT= Open Audio Galaxy client
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= wget-[0-9]*:../../net/wget
GNU_CONFIGURE= yes
@@ -18,10 +20,11 @@ USE_LANGUAGES= c c++
.include "../../devel/zlib/buildlink3.mk"
+INSTALLATION_DIRS+= share/doc/OpenAG
+
post-install:
- ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/OpenAG
.for i in AUTHORS ChangeLog INSTALL NEWS README
- ${INSTALL_MAN} ${WRKSRC}/${i} ${PREFIX}/share/doc/OpenAG/${i}
+ ${INSTALL_MAN} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/share/doc/OpenAG/${i}
.endfor
.include "../../mk/bsd.pkg.mk"