pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/yafic Added support for DESTDIR.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9ef2e9069f64
branches: trunk
changeset: 568433:9ef2e9069f64
user: martti <martti%pkgsrc.org@localhost>
date: Sun Dec 13 08:42:26 2009 +0000
description:
Added support for DESTDIR.
diffstat:
security/yafic/Makefile | 5 ++++-
security/yafic/distinfo | 3 ++-
security/yafic/patches/patch-aa | 24 ++++++++++++++++++++++++
3 files changed, 30 insertions(+), 2 deletions(-)
diffs (60 lines):
diff -r 6eb226d63b74 -r 9ef2e9069f64 security/yafic/Makefile
--- a/security/yafic/Makefile Sun Dec 13 08:35:22 2009 +0000
+++ b/security/yafic/Makefile Sun Dec 13 08:42:26 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2009/05/12 12:55:30 martti Exp $
+# $NetBSD: Makefile,v 1.5 2009/12/13 08:42:26 martti Exp $
DISTNAME= yafic-1.2.2
CATEGORIES= security
@@ -7,8 +7,11 @@
MAINTAINER= martti%NetBSD.org@localhost
HOMEPAGE= http://www.saddi.com/software/yafic/
COMMENT= File integrity checker
+
LICENSE= modified-bsd
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
.include "../../mk/bsd.pkg.mk"
diff -r 6eb226d63b74 -r 9ef2e9069f64 security/yafic/distinfo
--- a/security/yafic/distinfo Sun Dec 13 08:35:22 2009 +0000
+++ b/security/yafic/distinfo Sun Dec 13 08:42:26 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/10/16 09:14:38 martti Exp $
+$NetBSD: distinfo,v 1.2 2009/12/13 08:42:26 martti Exp $
SHA1 (yafic-1.2.2.tar.gz) = 0592df76f87a6b5b972c1e8c1c08c771e3ffdf7f
RMD160 (yafic-1.2.2.tar.gz) = 976cb8a75bb9cdf75961a60929c5e778049a97b4
Size (yafic-1.2.2.tar.gz) = 96893 bytes
+SHA1 (patch-aa) = 288f5793947fbd844e0cdf7706cabd9b9f37abcc
diff -r 6eb226d63b74 -r 9ef2e9069f64 security/yafic/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/yafic/patches/patch-aa Sun Dec 13 08:42:26 2009 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1 2009/12/13 08:42:26 martti Exp $
+
+Added support for DESTDIR.
+
+--- Makefile.in.orig 2009-12-13 10:28:53.000000000 +0200
++++ Makefile.in 2009-12-13 10:31:19.000000000 +0200
+@@ -553,13 +553,13 @@
+
+
+ install-exec-hook:
+- if test -f $(bindir)/yafic-sign; then \
+- ln -f $(bindir)/yafic-sign$(EXEEXT) $(bindir)/yafic-check$(EXEEXT); \
++ if test -f $(DESTDIR)$(bindir)/yafic-sign; then \
++ ln -f $(DESTDIR)$(bindir)/yafic-sign$(EXEEXT) $(DESTDIR)$(bindir)/yafic-check$(EXEEXT); \
+ fi
+
+ install-data-hook:
+- if test -f $(mandir)/man1/yafic-sign.1; then \
+- ln -f $(mandir)/man1/yafic-sign.1 $(mandir)/man1/yafic-check.1; \
++ if test -f $(DESTDIR)$(mandir)/man1/yafic-sign.1; then \
++ ln -f $(DESTDIR)$(mandir)/man1/yafic-sign.1 $(DESTDIR)$(mandir)/man1/yafic-check.1; \
+ fi
+
+ uninstall-hook:
Home |
Main Index |
Thread Index |
Old Index