summaryrefslogtreecommitdiff
path: root/archivers/undms/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 03:48:36 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 03:48:36 +0000
commit6a0bbfc67659e8fd303162cd3c8e2f27b4be528b (patch)
tree14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/undms/Makefile
parentabd93136031ca3b8ecf3b96e0d1a078f10ccd7d5 (diff)
downloadpkgsrc-6a0bbfc67659e8fd303162cd3c8e2f27b4be528b.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'archivers/undms/Makefile')
-rw-r--r--archivers/undms/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/undms/Makefile b/archivers/undms/Makefile
index d4b5efd2662..8f945717375 100644
--- a/archivers/undms/Makefile
+++ b/archivers/undms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/11/06 20:12:38 reed Exp $
+# $NetBSD: Makefile,v 1.20 2008/03/02 03:48:37 jlam Exp $
DISTNAME= undms-1.3.c
PKGNAME= undms-1.3
@@ -11,6 +11,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Converts .dms Amiga disk images to uncompressed .adf images
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
@@ -20,6 +21,6 @@ do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o undms undms-1.3.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/undms ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/undms ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"