summaryrefslogtreecommitdiff
path: root/ham/fl_logbook/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 15:51:59 +0000
committerjlam <jlam>2008-03-04 15:51:59 +0000
commit4d680f511823eec9844af8f359cbb1881902e612 (patch)
tree5e5642b202870e46d72efc30dd061239fa9a1236 /ham/fl_logbook/Makefile
parentb5f6311af8bceb6f6ffa993ab73f802a0907c782 (diff)
downloadpkgsrc-4d680f511823eec9844af8f359cbb1881902e612.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'ham/fl_logbook/Makefile')
-rw-r--r--ham/fl_logbook/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/ham/fl_logbook/Makefile b/ham/fl_logbook/Makefile
index 4f5a5ebfae3..253422c768d 100644
--- a/ham/fl_logbook/Makefile
+++ b/ham/fl_logbook/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/01/21 16:49:23 obache Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/04 15:51:59 jlam Exp $
#
DISTNAME= fl_logbook.121.src
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.w1hkj.com/
COMMENT= FLTK-based amateur radio log book
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:C/-.*//}
USE_LANGUAGES= c++
@@ -20,7 +22,7 @@ MAKE_ENV+= CFG=Release
BUILD_TARGET= #defined in dist Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/Release/fl_logbook ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/Release/fl_logbook ${DESTDIR}${PREFIX}/bin
.include "../../x11/fltk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"