pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/ham/hamlib DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/229ab7b1f60e
branches:  trunk
changeset: 554523:229ab7b1f60e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Feb 15 18:52:40 2009 +0000

description:
DESTDIR support.

diffstat:

 ham/hamlib/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 954592e2d235 -r 229ab7b1f60e ham/hamlib/Makefile
--- a/ham/hamlib/Makefile       Sun Feb 15 18:49:54 2009 +0000
+++ b/ham/hamlib/Makefile       Sun Feb 15 18:52:40 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2008/12/06 08:48:03 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2009/02/15 18:52:40 joerg Exp $
 #
 
 DISTNAME=      hamlib-1.2.7.1
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://hamlib.sourceforge.net/
 COMMENT=       API for digital communications equipment
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LANGUAGES= c c++
 USE_TOOLS+=    gmake
 GNU_CONFIGURE= yes
@@ -23,7 +25,6 @@
 # when none is needed.
 CONFIGURE_ENV+=        PYTHON=/nonexistent
 
-pre-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/include/hamlib
+INSTALLATION_DIRS=     include/hamlib
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index