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

Annotation of OpenXM/src/gmp/Makefile-ports, Revision 1.2

1.2     ! takayama    1: # $OpenXM: OpenXM/src/gmp/Makefile-ports,v 1.1 2004/02/22 08:28:20 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=gmp-3.1.1.tar.gz
                      9: GMP=gmp-3.1.1
                     10:
                     11: all : build
                     12: install : post-install
                     13:
                     14: fetch:
                     15:        @if test ! -f .fetch_done ; \
                     16:        then \
                     17:                ${OpenXM_HOME}/bin/oxfetch.sh ftp://${MASTER_CITES}/pub/OpenXM/misc/${DISTFILES} ${DISTDIR}; \
                     18:        fi
                     19:        @touch .fetch_done
                     20:
                     21: patch : fetch
                     22:        @if test ! -f .patch_done ; \
                     23:        then \
                     24:          $(RM) work ; \
                     25:          mkdir work ; \
                     26:          (cd work ; tar xzvf ../${DISTDIR}/${DISTFILES} ) ; \
                     27:        fi
                     28:        @touch .patch_done
                     29: #        (cd work; patch -c -p0 <../patch-aa ; patch -c -p0 <../patch-bb ; patch -c -p0 <../patch-cc) ; \
                     30:
                     31: build : patch
                     32:        @if test ! -f .build_done ; \
                     33:        then \
                     34:                (cd work/${GMP} ; ./configure --prefix `pwd`/../../../../../OpenXM ; make ) ; \
                     35:        fi
                     36:        @touch .build_done
                     37:
                     38: post-install: build
                     39:        @if test ! -f .post-install_done ; \
                     40:        then \
                     41:                -mkdir ${PREFIX}/lib ${PREFIX}/bin ; \
                     42:                (cd work/${GMP} ; make install) ; \
1.2     ! takayama   43:                (cd work/${GMP} ; cp gmp-impl.h config.h gmp-mparam.h ${OpenXM_HOME}/include)
1.1       takayama   44:        fi
                     45:        @touch .post-install_done
                     46:
                     47: clean:
                     48:        $(RM)  .*_done
                     49:        -(cd work/${GMP} ; make clean)
                     50: distclean:
                     51:        $(RM)  .*_done ./.use_ports
                     52:        -(cd work/${GMP} ; make distclean)

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