summaryrefslogtreecommitdiff
path: root/comms/kyopon
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-12-19 09:35:14 +0000
committerjoerg <joerg@pkgsrc.org>2008-12-19 09:35:14 +0000
commit9dda6170da08b79f9d137c48cc60a6d913456e2f (patch)
treea87a8e072a626763e6a2eba3e14bfeb4d77c9231 /comms/kyopon
parent4120d83d41fa029021d3892ab26c138028bd6f73 (diff)
downloadpkgsrc-9dda6170da08b79f9d137c48cc60a6d913456e2f.tar.gz
Fix build on netbsd-5+, DESTDIR support.
Diffstat (limited to 'comms/kyopon')
-rw-r--r--comms/kyopon/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/comms/kyopon/Makefile b/comms/kyopon/Makefile
index 3f43ef4b1c2..4455159596f 100644
--- a/comms/kyopon/Makefile
+++ b/comms/kyopon/Makefile
@@ -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 @@ MAINTAINER= itohy@NetBSD.org
#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"