[BACK]Return to Makefile-ports CVS log [TXT][DIR] Up to [local] / OpenXM / src / gc

Annotation of OpenXM/src/gc/Makefile-ports, Revision 1.6

1.6     ! takayama    1: # $OpenXM: OpenXM/src/gc/Makefile-ports,v 1.5 2003/11/14 03:04:29 ohara Exp $
1.1       takayama    2: OpenXM_HOME=../..
                      3: PREFIX=${OpenXM_HOME}
                      4: DISTDIR=${OpenXM_HOME}/../OpenXM_dist
                      5: RM = /bin/rm -rf
                      6: MASTER_CITES=ftp.math.kobe-u.ac.jp
                      7: # MASTER_CITES2 =
                      8: DISTFILES=gc6.2.tar.gz
                      9:
                     10: all : build
                     11: install : post-install
                     12:
1.4       ohara      13: fetch:
1.1       takayama   14:        @if test ! -f .fetch_done ; \
                     15:        then \
1.4       ohara      16:                ${OpenXM_HOME}/bin/oxfetch.sh ftp://${MASTER_CITES}/pub/OpenXM/misc/${DISTFILES} ${DISTDIR}; \
1.1       takayama   17:        fi
                     18:        @touch .fetch_done
                     19:
                     20: patch : fetch
                     21:        @if test ! -f .patch_done ; \
                     22:        then \
                     23:          $(RM) work ; \
                     24:          mkdir work ; \
                     25:          (cd work ; tar xzvf ../${DISTDIR}/${DISTFILES} ) ; \
                     26:        fi
                     27:        @touch .patch_done
                     28: #        (cd work; patch -c -p0 <../patch-aa ; patch -c -p0 <../patch-bb ; patch -c -p0 <../patch-cc) ; \
                     29:
                     30: build : patch
                     31:        @if test ! -f .build_done ; \
                     32:        then \
                     33:                (cd work/gc6.2 ; ./configure --prefix `pwd`/../../../../../OpenXM ; make ) ; \
                     34:        fi
                     35:        @touch .build_done
                     36:
                     37: post-install: build
                     38:        @if test ! -f .post-install_done ; \
                     39:        then \
                     40:                (cd work/gc6.2 ; make install) ; \
                     41:        fi
                     42:        @touch .post-install_done
                     43:
                     44: clean:
1.2       takayama   45:        $(RM)  .*_done
1.1       takayama   46:        -(cd work/gc6.2 ; make clean)
                     47: distclean:
1.2       takayama   48:        $(RM)  .*_done ./.use_ports
1.1       takayama   49:        -(cd work/gc6.2 ; make distclean)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>