From 33be9d571979426caf74e11b4f9a9f2be70808b5 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 2 Mar 2008 06:10:30 +0000 Subject: Mechanical changes to add full DESTDIR support to packages that install their files via a custom do-install target. --- audio/nspmod/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'audio/nspmod') diff --git a/audio/nspmod/Makefile b/audio/nspmod/Makefile index 07263b1710f..656e16a6601 100644 --- a/audio/nspmod/Makefile +++ b/audio/nspmod/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/01/07 09:13:47 rillig Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/02 06:10:33 jlam Exp $ # DISTNAME= nspmod-0.1 @@ -12,11 +12,12 @@ COMMENT= MOD/S3M/MTM tracker that does its own DSP, uses VoxWare v2.90+ NOT_FOR_PLATFORM= Interix-*-* PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nspmod ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/nspmod.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/nspmod ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/nspmod.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3