diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-01 01:50:04 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-01 01:50:04 +0000 |
commit | 85cf745783afdb3a8ba87a6e94f9c6d19000d51b (patch) | |
tree | 3e84fda9c228da09307f4467e4c5a681ca735dd8 /audio/wsoundserver/Makefile | |
parent | 427f06d0b965762c723bf00a61e3afb137e8b98f (diff) | |
download | pkgsrc-85cf745783afdb3a8ba87a6e94f9c6d19000d51b.tar.gz |
DESTDIR support
Diffstat (limited to 'audio/wsoundserver/Makefile')
-rw-r--r-- | audio/wsoundserver/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/audio/wsoundserver/Makefile b/audio/wsoundserver/Makefile index 1890da3061d..8c2c5613e09 100644 --- a/audio/wsoundserver/Makefile +++ b/audio/wsoundserver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2010/01/18 09:58:39 wiz Exp $ +# $NetBSD: Makefile,v 1.39 2010/02/01 02:01:59 joerg Exp $ # DISTNAME= WSoundServer-0.4.0 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://shadowmere.student.utwente.nl/ COMMENT= Sound server for windowmaker +PKG_DESTDIR_SUPPORT= user-destdir + USE_X11BASE= YES GNU_CONFIGURE= YES USE_LIBTOOL= YES @@ -26,6 +28,8 @@ SUBST_MESSAGE.1x= Changing the man page category from 1x to 1. SUBST_FILES.1x= doc/* SUBST_SED.1x= -e s,1x,1,g +INSTALLATION_DIRS+= ${EGDIR} + post-patch: set -e; \ cd ${WRKSRC:Q}/doc; \ @@ -38,8 +42,7 @@ post-patch: ${FILESDIR:Q}/WMSound > ${WRKSRC:Q}/WMSound post-install: - ${INSTALL_DATA_DIR} ${EGDIR:Q} - ${INSTALL_DATA} ${WRKSRC:Q}/WMSound ${EGDIR:Q} + ${INSTALL_DATA} ${WRKSRC:Q}/WMSound ${DESTDIR}${EGDIR} .include "../../mk/bsd.prefs.mk" |