diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-08 15:14:44 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-08 15:14:44 +0000 |
commit | f4ab2cdc94436a2fea398d0c2fdd5b0568dc3ce7 (patch) | |
tree | 1304ece5f624dc6f49a714c8fd8fb9bbf0bb391d /biology/gp | |
parent | 1b148d11bfe54450f10a2d9a49461c890c81f28f (diff) | |
download | pkgsrc-f4ab2cdc94436a2fea398d0c2fdd5b0568dc3ce7.tar.gz |
user-destdir support
Diffstat (limited to 'biology/gp')
-rw-r--r-- | biology/gp/Makefile | 4 | ||||
-rw-r--r-- | biology/gp/distinfo | 4 | ||||
-rw-r--r-- | biology/gp/patches/patch-aa | 34 |
3 files changed, 26 insertions, 16 deletions
diff --git a/biology/gp/Makefile b/biology/gp/Makefile index 2e33a446b96..7bac9653c3a 100644 --- a/biology/gp/Makefile +++ b/biology/gp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2007/03/24 19:21:19 joerg Exp $ +# $NetBSD: Makefile,v 1.7 2009/07/08 15:14:44 joerg Exp $ # DISTNAME= gp-0.26 @@ -10,6 +10,8 @@ MAINTAINER= hdp@cs.nmsu.edu HOMEPAGE= http://www.bioinformatics.org/genpak/ COMMENT= Manipulate DNA/RNA sequence in a Unix fashion +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples .include "../../mk/bsd.pkg.mk" diff --git a/biology/gp/distinfo b/biology/gp/distinfo index da271702d98..311fe563891 100644 --- a/biology/gp/distinfo +++ b/biology/gp/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2005/02/22 21:28:55 agc Exp $ +$NetBSD: distinfo,v 1.5 2009/07/08 15:14:44 joerg Exp $ SHA1 (gp-0.26.tgz) = 18107463df9bb33d12cc0f0fc6a6f17985492666 RMD160 (gp-0.26.tgz) = 2195e47a09444d7454d3f1314f6b128600fc18ed Size (gp-0.26.tgz) = 141159 bytes -SHA1 (patch-aa) = 7528c2809554103c7a88c1dfff506aaeb78f6607 +SHA1 (patch-aa) = bea23d059905d70af9f86158f35e3eb1f58dc39e SHA1 (patch-ab) = ce6ec76011f18a9a86b8c65ba5541848e298e27a diff --git a/biology/gp/patches/patch-aa b/biology/gp/patches/patch-aa index 234905d8e77..82c18b7d69c 100644 --- a/biology/gp/patches/patch-aa +++ b/biology/gp/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.3 2004/08/23 14:41:06 ben Exp $ +$NetBSD: patch-aa,v 1.4 2009/07/08 15:14:45 joerg Exp $ ---- Makefile.orig Thu May 17 12:27:07 2001 +--- Makefile.orig 2001-05-17 21:27:07.000000000 +0200 +++ Makefile @@ -5,20 +5,20 @@ ###################################################################### @@ -35,29 +35,37 @@ $NetBSD: patch-aa,v 1.3 2004/08/23 14:41:06 ben Exp $ # documentation. # If you want to install documents automagically, type: -@@ -67,16 +67,16 @@ clean: +@@ -67,18 +67,18 @@ clean: -cd src/ ; rm $(PROGRAMS) core install: all - @if [ ! -O "$(BINDIR)" ] ; then \ - echo "File $(BINDIR) doesn't belong to you!" ; exit 1 ; fi -+# @if [ ! -O "$(BINDIR)" ] ; then \ -+# echo "File $(BINDIR) doesn't belong to you!" ; exit 1 ; fi - @cd src ; cp $(PROGRAMS) $(BINDIR) - +- @cd src ; cp $(PROGRAMS) $(BINDIR) +- - @if [ ! -O "$(MANDIR)" ] ; then \ - echo "File $(MANDIR) doesn't belong to you!" ; exit 1 ; fi -+# @if [ ! -O "$(MANDIR)" ] ; then \ -+# echo "File $(MANDIR) doesn't belong to you!" ; exit 1 ; fi - @cd man1 ; cp $(MANUALS) $(MANDIR)/man1 - +- @cd man1 ; cp $(MANUALS) $(MANDIR)/man1 +- - @if [ ! -O "$(DATADIR)" ] ; then \ - echo "File $(DATADIR) doesn't belong to you!" ; exit 1 ; fi +- -cd $(DATADIR) ; mkdir genpak ; +- @cd data ; cp -i $(DATAFILES) $(DATADIR)/genpak ++# @if [ ! -O "$(BINDIR)" ] ; then \ ++# echo "File $(BINDIR) doesn't belong to you!" ; exit 1 ; fi ++ @cd src ; ${BSD_INSTALL_PROGRAM} $(PROGRAMS) ${DESTDIR}$(BINDIR) ++ ++# @if [ ! -O "$(MANDIR)" ] ; then \ ++# echo "File $(MANDIR) doesn't belong to you!" ; exit 1 ; fi ++ @cd man1 ; ${BSD_INSTALL_MAN} $(MANUALS) ${DESTDIR}$(MANDIR)/man1 ++ +# @if [ ! -O "$(DATADIR)" ] ; then \ +# echo "File $(DATADIR) doesn't belong to you!" ; exit 1 ; fi - -cd $(DATADIR) ; mkdir genpak ; - @cd data ; cp -i $(DATAFILES) $(DATADIR)/genpak ++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(DATADIR)/genpak ; ++ @cd data ; ${BSD_INSTALL_DATA} $(DATAFILES) ${DESTDIR}$(DATADIR)/genpak + @echo + @echo Installation is now complete. Type @@ -99,26 +99,26 @@ filelist: echo "$(DATADIR)/genpak/"$$i >> FILES.TXT ; done |