Annotation of OpenXM/src/gc/Makefile-ports, Revision 1.4
1.4 ! ohara 1: # $OpenXM: OpenXM/src/gc/Makefile-ports,v 1.3 2003/11/11 10:56:02 takayama 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: -mkdir ${PREFIX}/lib ${PREFIX}/bin ; \
41: (cd work/gc6.2 ; make install) ; \
42: fi
43: @touch .post-install_done
44:
45: clean:
1.2 takayama 46: $(RM) .*_done
1.1 takayama 47: -(cd work/gc6.2 ; make clean)
48: distclean:
1.2 takayama 49: $(RM) .*_done ./.use_ports
1.1 takayama 50: -(cd work/gc6.2 ; make distclean)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>