diff options
Diffstat (limited to 'biology/gp/patches/patch-aa')
-rw-r--r-- | biology/gp/patches/patch-aa | 34 |
1 files changed, 21 insertions, 13 deletions
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 |