From 43112f64cf453f5e24fc1a811650c98f7db2fe76 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 05:51:07 +0000 Subject: Mechanical changes to add full DESTDIR support to packages that install their files via a custom do-install target. --- converters/base64/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'converters/base64') diff --git a/converters/base64/Makefile b/converters/base64/Makefile index a8df93cba1e..651f92caf92 100644 --- a/converters/base64/Makefile +++ b/converters/base64/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2007/12/16 16:14:32 adam Exp $ +# $NetBSD: Makefile,v 1.21 2008/03/03 05:51:07 jlam Exp $ DISTNAME= base64-1.5 CATEGORIES= converters @@ -9,6 +9,7 @@ HOMEPAGE= http://www.fourmilab.ch/webtools/base64/ COMMENT= Encode and decode base64 files PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes BUILD_TARGET= prog @@ -16,7 +17,7 @@ BUILD_TARGET= prog INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/base64 ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/base64.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/base64 ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/base64.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3