diff options
author | abs <abs@pkgsrc.org> | 2009-05-19 22:03:44 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2009-05-19 22:03:44 +0000 |
commit | 439088630ed6795bae104e455fc356c53f774b71 (patch) | |
tree | 9234132d41e6f11794b4a8dcd5771465680b8e22 /sysutils | |
parent | 32222ee7f745c46b6371265dd65f756883472ab5 (diff) | |
download | pkgsrc-439088630ed6795bae104e455fc356c53f774b71.tar.gz |
+PKG_DESTDIR_SUPPORT
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/dvdrecord/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/dvdrecord/Makefile b/sysutils/dvdrecord/Makefile index 602b076866e..5ec91264a06 100644 --- a/sysutils/dvdrecord/Makefile +++ b/sysutils/dvdrecord/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2008/03/08 11:14:11 obache Exp $ +# $NetBSD: Makefile,v 1.18 2009/05/19 22:03:44 abs Exp $ DISTNAME= dvdrtools-${VERSION} PKGNAME= ${DISTNAME:S/dvdrtools/dvdrecord/} @@ -17,7 +17,8 @@ GNU_CONFIGURE= yes # Override wrong usage of AC_DEFINE_UNQUOTED: CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} LIBS.SunOS+= -lsocket -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 +PKG_DESTDIR_SUPPORT= user-destdir .include "../../mk/bsd.prefs.mk" @@ -26,8 +27,8 @@ LIBS.NetBSD+= -lrt .endif do-install: - cd ${WRKSRC}/cdrecord; \ - ${INSTALL_PROGRAM} dvdrecord ${PREFIX}/bin; \ - ${INSTALL_MAN} dvdrecord.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/cdrecord/dvdrecord ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/cdrecord/dvdrecord.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |