From 8b1a11b4c7ee592ea1883a6435a957ef7b81117b Mon Sep 17 00:00:00 2001 From: abs Date: Tue, 19 May 2009 06:54:51 +0000 Subject: +PKG_DESTDIR_SUPPORT --- audio/mserv/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'audio/mserv') diff --git a/audio/mserv/Makefile b/audio/mserv/Makefile index 882e6caf28b..f6ac95f5a12 100644 --- a/audio/mserv/Makefile +++ b/audio/mserv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2006/05/14 21:10:28 minskim Exp $ +# $NetBSD: Makefile,v 1.33 2009/05/19 06:54:51 abs Exp $ # DISTNAME= mserv-0.35 @@ -26,17 +26,18 @@ LDFLAGS.SunOS+= -lnsl -lsocket post-configure: ${MV} ${WRKSRC}/mserv/soundcard.h ${WRKSRC}/mserv/mservsoundcard.h +PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS+= share/doc/mserv share/mserv/webclient + 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/libvorbis/buildlink3.mk" .include "../../multimedia/libogg/buildlink3.mk" -- cgit v1.2.3