diff options
author | martti <martti@pkgsrc.org> | 2009-12-13 08:42:26 +0000 |
---|---|---|
committer | martti <martti@pkgsrc.org> | 2009-12-13 08:42:26 +0000 |
commit | 2a6f077480ca98aed85d90c92a95990094ca2e57 (patch) | |
tree | f6a345d3783576db4aea8da8bab406a3ddd1d1a9 /security/yafic | |
parent | c8919f591734e2ea9c5672629caf73b924940d22 (diff) | |
download | pkgsrc-2a6f077480ca98aed85d90c92a95990094ca2e57.tar.gz |
Added support for DESTDIR.
Diffstat (limited to 'security/yafic')
-rw-r--r-- | security/yafic/Makefile | 5 | ||||
-rw-r--r-- | security/yafic/distinfo | 3 | ||||
-rw-r--r-- | security/yafic/patches/patch-aa | 24 |
3 files changed, 30 insertions, 2 deletions
diff --git a/security/yafic/Makefile b/security/yafic/Makefile index c6ed41445f5..f39cef7bf66 100644 --- a/security/yafic/Makefile +++ b/security/yafic/Makefile @@ -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 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yafic/} MAINTAINER= martti@NetBSD.org 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 --git a/security/yafic/distinfo b/security/yafic/distinfo index 2bb5e4e81f8..efbe3225525 100644 --- a/security/yafic/distinfo +++ b/security/yafic/distinfo @@ -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 --git a/security/yafic/patches/patch-aa b/security/yafic/patches/patch-aa new file mode 100644 index 00000000000..a2449dad549 --- /dev/null +++ b/security/yafic/patches/patch-aa @@ -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: |