summaryrefslogtreecommitdiff
path: root/net/dtcp
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-17 14:09:05 +0000
committerhans <hans@pkgsrc.org>2012-02-17 14:09:05 +0000
commit5facb80c8cffc8848c35c696fd16172fd1f48908 (patch)
tree5dbe714a26f12f524aba330931a84ec737268b93 /net/dtcp
parent089f7badf5badb6b07993e86b5bd6d20f1996669 (diff)
downloadpkgsrc-5facb80c8cffc8848c35c696fd16172fd1f48908.tar.gz
Fix destdir build, uses a BSD makefile.
Diffstat (limited to 'net/dtcp')
-rw-r--r--net/dtcp/Makefile6
-rw-r--r--net/dtcp/distinfo4
-rw-r--r--net/dtcp/patches/patch-aa19
3 files changed, 22 insertions, 7 deletions
diff --git a/net/dtcp/Makefile b/net/dtcp/Makefile
index 9854f7a3638..9459e580794 100644
--- a/net/dtcp/Makefile
+++ b/net/dtcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2010/09/10 07:35:41 taca Exp $
+# $NetBSD: Makefile,v 1.23 2012/02/17 14:09:05 hans Exp $
#
DISTNAME= dtcp-20060109
@@ -18,9 +18,9 @@ DEPENDS+= qpopper-[0-9]*:../../mail/qpopper
RCD_SCRIPTS= dtcpc dtcps
INSTALLATION_DIRS= ${PKGMANDIR}/cat8 ${PKGMANDIR}/man8 sbin
-INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
+INSTALL_MAKE_FLAGS+= PREFIX=${PREFIX} DESTDIR=${DESTDIR}
-MAKE_ENV+= ${BSD_MAKE_ENV}
+USE_BSD_MAKEFILE= yes
.include "../../lang/ruby/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/dtcp/distinfo b/net/dtcp/distinfo
index fc7e89b21e9..fb991f8436f 100644
--- a/net/dtcp/distinfo
+++ b/net/dtcp/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2010/02/11 20:47:16 joerg Exp $
+$NetBSD: distinfo,v 1.11 2012/02/17 14:09:05 hans Exp $
SHA1 (dtcp-20060109.tar.gz) = 925380777a0cdd313ef8d57a93483c604bea959a
RMD160 (dtcp-20060109.tar.gz) = b14d5985c558c615aa169a5dda778339c52fb713
Size (dtcp-20060109.tar.gz) = 22679 bytes
-SHA1 (patch-aa) = ba0b93954c8ac79fe7096788377f218ebabbdbaf
+SHA1 (patch-aa) = bb218ca8e21d6177d8ff2472c76d2fe432a9e771
diff --git a/net/dtcp/patches/patch-aa b/net/dtcp/patches/patch-aa
index a02a9152d78..cfb2221682f 100644
--- a/net/dtcp/patches/patch-aa
+++ b/net/dtcp/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.7 2010/02/11 20:47:16 joerg Exp $
+$NetBSD: patch-aa,v 1.8 2012/02/17 14:09:05 hans Exp $
--- Makefile.orig 2006-01-24 11:51:58.000000000 -0800
+++ Makefile 2006-01-24 11:52:30.000000000 -0800
-@@ -14,9 +14,9 @@
+@@ -14,9 +14,9 @@ PREFIX?= /usr/local
BINDIR= $(PREFIX)/sbin
.if (${OPSYS} == "NetBSD")
@@ -14,3 +14,18 @@ $NetBSD: patch-aa,v 1.7 2010/02/11 20:47:16 joerg Exp $
.endif
MAN= dtcps.8 dtcpc.8 dtcpauth.8
+@@ -69,11 +69,11 @@ dtcpauth.8: dtcpauth.8.in
+
+ realinstall:
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 dtcps \
+- ${BINDIR}/dtcps
++ ${DESTDIR}${BINDIR}/dtcps
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 dtcpc \
+- ${BINDIR}/dtcpc
++ ${DESTDIR}${BINDIR}/dtcpc
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 555 dtcpauth \
+- ${BINDIR}/dtcpauth
++ ${DESTDIR}${BINDIR}/dtcpauth
+
+ dist:
+ @data=`date +%Y%m%d`; \