diff options
Diffstat (limited to 'audio/cddbd/Makefile')
-rw-r--r-- | audio/cddbd/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/cddbd/Makefile b/audio/cddbd/Makefile index 25b8962d43f..341266b5e2a 100644 --- a/audio/cddbd/Makefile +++ b/audio/cddbd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2007/12/29 10:13:08 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2010/02/01 01:38:42 joerg Exp $ # DISTNAME= cddbd-1.3.1 @@ -14,15 +14,20 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.freedb.org/en/download__server_software.4.html COMMENT= Internet CD Database Server +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_FILE= makefile +INSTALLATION_DIRS+= bin + do-configure: cd ${WRKSRC}; \ ${SETENV} BASEDIR=${PREFIX:Q}/share ${SH} config.sh do-install: cd ${WRKSRC}; \ - ${SETENV} INSTALL=${INSTALL:Q} BINDIR=${PREFIX:Q}/bin \ + ${SETENV} INSTALL=${INSTALL:Q} DESTDIR=${DESTDIR} \ + BINDIR=${DESTDIR}${PREFIX}/bin \ BINPERM=${BINMODE:Q} BINOWNER=${BINOWN:Q} \ BINGROUP=${BINGRP:Q} ${SH} install.sh |