diff options
author | abs <abs@pkgsrc.org> | 2009-12-17 19:58:19 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2009-12-17 19:58:19 +0000 |
commit | 498112aa9790ce8af4f0ca320537d2c0fe3b0f52 (patch) | |
tree | 4f3619f73d7b900cf12038b086e409079e6a1d11 /audio/mserv-devel | |
parent | 42254d16191c1586df4c289fdb4052c042df4405 (diff) | |
download | pkgsrc-498112aa9790ce8af4f0ca320537d2c0fe3b0f52.tar.gz |
PKG_DESTDIR_SUPPORT
Diffstat (limited to 'audio/mserv-devel')
-rw-r--r-- | audio/mserv-devel/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/mserv-devel/Makefile b/audio/mserv-devel/Makefile index 59e7be5f482..56a74c5b1a5 100644 --- a/audio/mserv-devel/Makefile +++ b/audio/mserv-devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2009/08/10 11:32:40 drochner Exp $ +# $NetBSD: Makefile,v 1.9 2009/12/17 19:58:19 abs Exp $ # DISTNAME= mserv-0.39a @@ -19,20 +19,21 @@ REPLACE_PERL= support/mservedit webclient/main.cgi \ webclient/margin.cgi webclient/mserv.cgi USE_TOOLS+= perl:run pkg-config +INSTALLATION_DIRS+= share/doc/mserv share/mserv/webclient +PKG_DESTDIR_SUPPORT= user-destdir + post-configure: ${MV} ${WRKSRC}/mserv/soundcard.h ${WRKSRC}/mserv/mservsoundcard.h post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/support/mservedit ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mserv + ${INSTALL_SCRIPT} ${WRKSRC}/support/mservedit ${DESTDIR}${PREFIX}/bin ${INSTALL_DATA} \ ${WRKSRC}/INSTALL \ ${WRKSRC}/LICENSE \ - ${PREFIX}/share/doc/mserv - ${INSTALL_DATA_DIR} ${PREFIX}/share/mserv/webclient + ${DESTDIR}${PREFIX}/share/doc/mserv ${INSTALL_DATA} \ ${WRKSRC}/webclient/* \ - ${PREFIX}/share/mserv/webclient + ${DESTDIR}${PREFIX}/share/mserv/webclient .include "../../audio/libshout/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |