diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
commit | 76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/cd-discid/Makefile | |
parent | 5c458b597ca0742153b3a339088ba80f14b598ef (diff) | |
download | pkgsrc-76ed4a57975c0d7c08dcc86ebda15457c3e83793.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'audio/cd-discid/Makefile')
-rw-r--r-- | audio/cd-discid/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/audio/cd-discid/Makefile b/audio/cd-discid/Makefile index b38b8de31cc..77e1988021b 100644 --- a/audio/cd-discid/Makefile +++ b/audio/cd-discid/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2006/10/14 13:11:23 rillig Exp $ +# $NetBSD: Makefile,v 1.13 2008/03/02 06:10:31 jlam Exp $ DISTNAME= cd-discid_0.9.orig PKGNAME= cd-discid-0.9 @@ -8,17 +8,20 @@ MASTER_SITES= http://lly.org/~rcw/cd-discid/ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Read CD to obtain CDDB discid information -WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} - NOT_FOR_PLATFORM= Interix-*-* +PKG_DESTDIR_SUPPORT= user-destdir + +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} + INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-build: cd ${WRKSRC} && ${CC} -O -o cd-discid cd-discid.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cd-discid ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/cd-discid.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/cd-discid ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/cd-discid.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |