diff options
author | agc <agc@pkgsrc.org> | 2007-08-31 21:48:37 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2007-08-31 21:48:37 +0000 |
commit | 12bbfebdb85468cacbe17bb5bf6f8a3015e5ab4a (patch) | |
tree | 7dd206d7f9f200587d6ea03deedd2c2b4d49a08b /misc/utftools | |
parent | 759d0f1cdeca9aab557e940876825de933d5f7b9 (diff) | |
download | pkgsrc-12bbfebdb85468cacbe17bb5bf6f8a3015e5ab4a.tar.gz |
Add DESTDIR support
Diffstat (limited to 'misc/utftools')
-rw-r--r-- | misc/utftools/Makefile | 5 | ||||
-rw-r--r-- | misc/utftools/distinfo | 4 | ||||
-rw-r--r-- | misc/utftools/patches/patch-ae | 16 |
3 files changed, 14 insertions, 11 deletions
diff --git a/misc/utftools/Makefile b/misc/utftools/Makefile index fe6e835291f..ec89cd9e341 100644 --- a/misc/utftools/Makefile +++ b/misc/utftools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2005/04/11 21:46:40 tv Exp $ +# $NetBSD: Makefile,v 1.7 2007/08/31 21:49:32 agc Exp $ # DISTNAME= utftools-1.6 @@ -7,10 +7,11 @@ CATEGORIES= misc MASTER_SITES= ftp://ftp.cs.yorku.ca/pub/wily/misc/ MAINTAINER= agc@NetBSD.org -#HOMEPAGE= +#HOMEPAGE= none COMMENT= UTF-aware wc, fmt, expand, and unexpand GNU_CONFIGURE= yes +PKG_DESTDIR_SUPPORT= user-destdir .include "../../misc/libutf/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/misc/utftools/distinfo b/misc/utftools/distinfo index 762bc5a9573..569930e4ccf 100644 --- a/misc/utftools/distinfo +++ b/misc/utftools/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 11:02:58 agc Exp $ +$NetBSD: distinfo,v 1.3 2007/08/31 21:49:32 agc Exp $ SHA1 (utftools-1.6.tar.gz) = 92406e9cc5f47fa0baa2d558b56175bc836431f1 RMD160 (utftools-1.6.tar.gz) = 7dfeda42ab72257dd92085e911b466175f3d0ff9 @@ -7,4 +7,4 @@ SHA1 (patch-aa) = c9b89b0b61fd1a51ab301748fc954676cfffc8ef SHA1 (patch-ab) = 0010909f1f83b8968275fb26c00e4c9bd4a534c4 SHA1 (patch-ac) = 4de3e61f6d11a0729a01f5efcffe9fcfe871e0ad SHA1 (patch-ad) = d5dadfa15d266aa1b5104f2f87dc39f481672639 -SHA1 (patch-ae) = e80fa5cb1ea5b1116bba8b0fe7f9ec93a55da7b6 +SHA1 (patch-ae) = 99e0701ae4788be9e1b1b5a36cc4a678401be453 diff --git a/misc/utftools/patches/patch-ae b/misc/utftools/patches/patch-ae index cc00147940b..679d6286fc8 100644 --- a/misc/utftools/patches/patch-ae +++ b/misc/utftools/patches/patch-ae @@ -1,15 +1,17 @@ -$NetBSD: patch-ae,v 1.1.1.1 2003/05/09 07:38:16 agc Exp $ +$NetBSD: patch-ae,v 1.2 2007/08/31 21:49:33 agc Exp $ ---- Makefile.in 2003/05/09 07:26:50 1.1 -+++ Makefile.in 2003/05/09 07:27:08 -@@ -39,8 +39,8 @@ +--- Makefile.in.orig 1997-02-25 18:47:26.000000000 +0000 ++++ Makefile.in 2007-08-31 12:23:48.000000000 +0100 +@@ -38,9 +38,9 @@ + all : $(BINS) install : all - $(srcdir)/mkinstalldirs $(BINDIR) $(MANDIR)/man1 +- $(srcdir)/mkinstalldirs $(BINDIR) $(MANDIR)/man1 - for bin in $(BINS) ; do $(INSTALL) $$bin $(BINDIR)/$$bin ; done - for man in $(MANS) ; do $(INSTALL_DATA) $(srcdir)/$$man $(MANDIR)/man1/$$man ; done -+ for bin in $(BINS) ; do $(INSTALL) $$bin $(BINDIR)/utf8-$$bin ; done -+ for man in $(MANS) ; do $(INSTALL_DATA) $(srcdir)/$$man $(MANDIR)/man1/utf8-$$man ; done ++ $(srcdir)/mkinstalldirs ${DESTDIR}$(BINDIR) ${DESTDIR}$(MANDIR)/man1 ++ for bin in $(BINS) ; do $(INSTALL) $$bin ${DESTDIR}$(BINDIR)/utf8-$$bin ; done ++ for man in $(MANS) ; do $(INSTALL_DATA) $(srcdir)/$$man ${DESTDIR}$(MANDIR)/man1/utf8-$$man ; done uninstall : -for bin in $(BINS) ; do rm $(BINDIR)/$$bin ; done |