=================================================================== RCS file: /home/cvs/OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Attic/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.7 diff -u -p -r1.1.1.1 -r1.7 --- OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Attic/Makefile 2000/03/02 10:32:39 1.1.1.1 +++ OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Attic/Makefile 2000/03/05 06:11:54 1.7 @@ -1,11 +1,26 @@ -# $OpenXM$ +# $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-1.1.2/Makefile,v 1.6 2000/03/04 11:03:35 takayama Exp $ -# Modify this. +### NOTE for committers. +### How to generate openxm-1.1.2.tar.gz (the tar ball of source code)? +### How to generate openxm-port.tar.gz (the tar ball of the port for openxm)? +### make make-tar-ball +### Then, the two tar balls are generated under ${TAR_WORK}. +### The default is ${HOME}/tmp +### +### How to test the port for openxm +### cd /usr/ports/math ; tar xzvf ${TAR_WORK}/openxm-port.tar.gz +### cp ${TAR_WORK}/openxm-1.1.2.tar.gz /usr/ports/distfiles +### cd /usr/ports/math/openxm ; make install +### [Try also make package , pkg_delete openxm-1.1.2 , +### pkg_add openxm-1.1.2.tgz] + +# Modify this. It's for committers. OpenXM_TOP=$(HOME) # Modify this. It's for committters. RCVS=mycvs -d kerberos.math.kobe-u.ac.jp:/usr/cvs +# +TAR_WORK=$(HOME)/tmp -PREFIX=/usr/local srcdir = . prefix=${PREFIX} MAN_DIR=${prefix}/man/man1 @@ -14,9 +29,11 @@ OpenXM_BINARIES=gnuplot4ox gnuplot_x11 k0 ox ../lib/as usage: @echo "Targets are all, install, clean, distclean" + @echo "You need to specify the PREFIX to install," + @echo "e.g., make install PREFIX=/usr/local" @echo "For committers: make-tar-ball, make-tar-ball-from-local-OpenXM" @echo " generate-symbolic-links, clean-this-directory" - @echo " make-tar-ball : create openxm-1.1.2.tar.gz under ~/tmp" + @echo " make-tar-ball : create openxm-1.1.2.tar.gz under $TAR_WORK" configure : (cd $(srcdir)/OpenXM/src ; make configure ) @@ -45,11 +62,19 @@ make-tar-ball : rm -rf OpenXM OpenXM_contrib OpenXM_contrib2 $(RCVS) export -rHEAD OpenXM OpenXM_contrib OpenXM_contrib2 rm -f *~ - echo "Creating a tar ball under ~/tmp/" - cd .. - tar czf $(HOME)/tmp/openxm-1.1.2.tar.gz openxm-1.1.2 - cd openxm-1.1.2 + echo "Creating a tar ball under $TAR_WORK" + (cd .. ; tar czf ${TAR_WORK}/openxm-1.1.2.tar.gz openxm-1.1.2) + rm -rf openxm + mv OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2 openxm + tar czf ${TAR_WORK}/openxm-port.tar.gz openxm +make-tar-ball-for-openxm-port: + rm -rf openxm + rm -rf OpenXM/misc/packages/FreeBSD + $(RCVS) export -rHEAD OpenXM/misc/packages/FreeBSD + mv OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2 openxm + tar czf ${TAR_WORK}/openxm-port.tar.gz openxm + make-tar-ball-from-local-OpenXM : rm -rf OpenXM OpenXM_contrib OpenXM_contrib2 (cd $(OpenXM_TOP) ; tar cf - OpenXM OpenXM_contrib OpenXM_contrib2) | tar xf - @@ -67,4 +92,4 @@ generate-symbolic-links : clean-this-directory: - /bin/rm -rf OpenXM OpenXM_contrib OpenXM_contrib2 *~ + /bin/rm -rf OpenXM OpenXM_contrib OpenXM_contrib2 *~ openxm