summaryrefslogtreecommitdiff
path: root/comms/bthfp/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 05:33:32 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 05:33:32 +0000
commit3b34772d7f8c87aaf463b2f9127224a7d6490225 (patch)
tree8887c0f8ce1a301b21789abae5051e7556970188 /comms/bthfp/Makefile
parentd0ef3eddac871b7dc8a5d0df9e6f5aeda4713c8e (diff)
downloadpkgsrc-3b34772d7f8c87aaf463b2f9127224a7d6490225.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'comms/bthfp/Makefile')
-rw-r--r--comms/bthfp/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/comms/bthfp/Makefile b/comms/bthfp/Makefile
index 4abf4228a28..7881bff7045 100644
--- a/comms/bthfp/Makefile
+++ b/comms/bthfp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/12/07 20:29:10 plunky Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/03 05:33:32 jlam Exp $
DISTNAME= bthfp-0.1
CATEGORIES= comms
@@ -10,12 +10,12 @@ COMMENT= Bluetooth Handsfree Profile
ONLY_FOR_PLATFORM= NetBSD-[4-9].*-*
-BUILD_DEFS+= PKGMANDIR
+PKG_DESTDIR_SUPPORT= user-destdir
-INSTALLATION_DIRS= ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bthfp ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/bthfp.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/bthfp ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/bthfp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"