pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/kyopon Fix build on netbsd-5+, DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e9561001977
branches:  trunk
changeset: 551718:1e9561001977
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Dec 19 09:35:14 2008 +0000

description:
Fix build on netbsd-5+, DESTDIR support.

diffstat:

 comms/kyopon/Makefile |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r 2cbc787d1219 -r 1e9561001977 comms/kyopon/Makefile
--- a/comms/kyopon/Makefile     Fri Dec 19 07:59:42 2008 +0000
+++ b/comms/kyopon/Makefile     Fri Dec 19 09:35:14 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2008/01/18 14:40:19 itohy Exp $
+# $NetBSD: Makefile,v 1.9 2008/12/19 09:35:14 joerg Exp $
 
 DISTNAME=              kyopon-0.5
 CATEGORIES=            comms
@@ -8,14 +8,12 @@
 #HOMEPAGE=
 COMMENT=               tool to manipulate data of Kyocera PHS handset
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 ONLY_FOR_PLATFORM=     NetBSD-*-* DragonFly-*-*
 
-MAKE_FLAGS+=           BINDIR="${PREFIX}/bin"
-MAKE_FLAGS+=           MANDIR="${PREFIX}/man"
-MAKE_ENV+=             BINOWN=${BINOWN} BINGRP=${BINGRP}
-MAKE_ENV+=             MANOWN=${MANOWN} MANGRP=${MANGRP}
+USE_BSD_MAKEFILE=      yes
 
-pre-install:
-       ${INSTALL_MAN_DIR} ${PREFIX}/${PKGMANDIR}/cat1
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index