summaryrefslogtreecommitdiff
path: root/converters/base64/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 05:51:07 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 05:51:07 +0000
commit43112f64cf453f5e24fc1a811650c98f7db2fe76 (patch)
tree4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/base64/Makefile
parent3b34772d7f8c87aaf463b2f9127224a7d6490225 (diff)
downloadpkgsrc-43112f64cf453f5e24fc1a811650c98f7db2fe76.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'converters/base64/Makefile')
-rw-r--r--converters/base64/Makefile7
1 files changed, 4 insertions, 3 deletions
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"