summaryrefslogtreecommitdiff
path: root/comms/birda
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-12-31 07:37:46 +0000
committerobache <obache@pkgsrc.org>2007-12-31 07:37:46 +0000
commit537df392bf615ec73c9c353dcde73b19d5950ac5 (patch)
tree6b2fd4e60918baa11ccd40471b1af3820a7ca333 /comms/birda
parentaba2218886f34460869055e3ecdc3359f0c4c7b0 (diff)
downloadpkgsrc-537df392bf615ec73c9c353dcde73b19d5950ac5.tar.gz
* USE_BSD_MAKEFILE, almost of variables are able to care by framework.
XXX: BIMODE and MANMODE also shoud be added to BSD_MAKE_ENV? * Need some pre-created directories before installation. * Then honor PKGMANDIR and DESTDIR ready.
Diffstat (limited to 'comms/birda')
-rw-r--r--comms/birda/Makefile12
-rw-r--r--comms/birda/distinfo3
-rw-r--r--comms/birda/patches/patch-aa20
3 files changed, 31 insertions, 4 deletions
diff --git a/comms/birda/Makefile b/comms/birda/Makefile
index 52ec380a2fc..a82b2d79159 100644
--- a/comms/birda/Makefile
+++ b/comms/birda/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2007/02/22 19:26:12 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2007/12/31 07:37:46 obache Exp $
#
DISTNAME= birda-1.3
@@ -8,7 +8,13 @@ MASTER_SITES= ftp://ftp.augustsson.net/pub/netbsd/
MAINTAINER= lennart@augustsson.net
COMMENT= Bohlin's IrDA utilities
-MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP} BINMODE=${BINMODE}
-MAKE_ENV+= MANOWN=${MANOWN} MANGRP=${MANGRP} MANMODE=${MANMODE}
+USE_BSD_MAKEFILE= yes
+
+MAKE_ENV+= BINMODE=${BINMODE}
+MAKE_ENV+= MANMODE=${MANMODE}
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/birda/distinfo b/comms/birda/distinfo
index da6dffa1ea6..739fd33b1c2 100644
--- a/comms/birda/distinfo
+++ b/comms/birda/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.16 2005/11/14 12:33:23 augustss Exp $
+$NetBSD: distinfo,v 1.17 2007/12/31 07:37:46 obache Exp $
SHA1 (birda-1.3.tar.gz) = c72a2e05153f82e9e27e5cf36970a49ae122dbfe
RMD160 (birda-1.3.tar.gz) = b53823b22db733a65cea515eadca59aa1024c96a
Size (birda-1.3.tar.gz) = 57848 bytes
+SHA1 (patch-aa) = 5dc29878d541f354d5ed4b0cc910ca6d57d498fe
diff --git a/comms/birda/patches/patch-aa b/comms/birda/patches/patch-aa
new file mode 100644
index 00000000000..393e7621e2b
--- /dev/null
+++ b/comms/birda/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.4 2007/12/31 07:37:47 obache Exp $
+
+--- Makefile.inc.orig 2002-01-13 00:55:53.000000000 +0000
++++ Makefile.inc
+@@ -2,15 +2,6 @@
+
+ CFLAGS+= -I${.CURDIR}/../src
+
+-PREFIX?= /usr/pkg
+-
+-BINDIR= ${PREFIX}/bin
+-.if defined(OPSYS) && ${OPSYS} == FreeBSD
+-MANDIR= ${PREFIX}/man/man
+-.else
+-MANDIR= ${PREFIX}/man
+-.endif
+-
+ MKLINT=no
+
+ .include <bsd.obj.mk>