[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages / FreeBSD

Annotation of OpenXM/misc/packages/FreeBSD/Makefile, Revision 1.9

1.9     ! takayama    1: # $OpenXM: OpenXM/misc/packages/FreeBSD/Makefile,v 1.8 2000/03/11 07:10:03 takayama Exp $
1.5       takayama    2: VERSION=1.1.2
1.6       takayama    3: TAG=HEAD
1.9     ! takayama    4: TAR_WORK=$(HOME)/tmp
1.5       takayama    5:
1.7       takayama    6: RCVS=cvs-OpenXM -d kerberos.math.sci.kobe-u.ac.jp:/usr/cvs
                      7:
1.5       takayama    8: usage:
                      9:        @echo "Targets:  "
                     10:        @echo "  clean "
                     11:        @echo "  update-plist "
1.1       takayama   12:
                     13: all :
                     14:
                     15: clean:
1.6       takayama   16:        -/bin/rm -rf openxm-ports/openxm-1.1.2/work openxm-ports/openxm-1.1.2/openxm-1.1.2.tgz work
1.3       takayama   17: ##  tmp2 might be used to debug openxm-1.1.2 for ports.
1.1       takayama   18:        -/bin/rm -rf $(HOME)/tmp2/OpenXM $(HOME)/tmp2/bin
1.2       takayama   19:        -mkdir $(HOME)/tmp2
                     20:        -mkdir $(HOME)/tmp2/bin
1.5       takayama   21:
                     22: ## You need to put the source tar ball under $(HOME)/tmp
                     23: update-plist :
                     24:        -mkdir $(HOME)/tmp2 $(HOME)/tmp2/bin $(HOME)/tmp2/man $(HOME)/tmp2/man/man1
                     25:        (cd openxm-ports/openxm-${VERSION} ; make TAR_WORK=$(HOME)/tmp DISTDIR=$(HOME)/tmp PREFIX=$(HOME)/tmp2)
                     26:        (cd openxm-ports/openxm-${VERSION}/files ; make ; ./gen-plist.shell)
                     27:        (cd openxm-ports/openxm-${VERSION}/files ; cp plist-tmp2 ../pkg/PLIST)
1.8       takayama   28:        (cd openxm-ports/openxm-${VERSION}/pkg ; ${RCVS} commit -m 'AutomaticUpdate' PLIST)
1.6       takayama   29:
                     30:
                     31: make-tar-ball-for-openxm-port:
                     32:        rm -rf work
1.9     ! takayama   33:        mkdir work
1.6       takayama   34:        (cd work ; $(RCVS) export -r${TAG} OpenXM/misc/packages/FreeBSD)
1.9     ! takayama   35:        (cd work ; mv OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2 openxm)
1.6       takayama   36:        (cd work ; tar czf ${TAR_WORK}/openxm-port.tar.gz openxm)
1.1       takayama   37:

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