Annotation of OpenXM/misc/packages/FreeBSD/Makefile, Revision 1.12
1.12 ! takayama 1: # $OpenXM: OpenXM/misc/packages/FreeBSD/Makefile,v 1.11 2000/03/13 05:31:58 takayama Exp $
! 2: VERSION=1.1.3
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.12 ! takayama 16: -/bin/rm -rf openxm-ports/openxm-1.1.3/work openxm-ports/openxm-1.1.3/openxm-1.1.3.tgz work
! 17: ## tmp2 might be used to debug openxm-1.1.3 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.10 takayama 21: -mkdir $(HOME)/tmp2/man
22: -mkdir $(HOME)/tmp2/man/man1
1.5 takayama 23:
24: ## You need to put the source tar ball under $(HOME)/tmp
25: update-plist :
26: -mkdir $(HOME)/tmp2 $(HOME)/tmp2/bin $(HOME)/tmp2/man $(HOME)/tmp2/man/man1
27: (cd openxm-ports/openxm-${VERSION} ; make TAR_WORK=$(HOME)/tmp DISTDIR=$(HOME)/tmp PREFIX=$(HOME)/tmp2)
28: (cd openxm-ports/openxm-${VERSION}/files ; make ; ./gen-plist.shell)
1.11 takayama 29: (cd openxm-ports/openxm-${VERSION}/pkg ; ${RCVS} update)
1.5 takayama 30: (cd openxm-ports/openxm-${VERSION}/files ; cp plist-tmp2 ../pkg/PLIST)
1.8 takayama 31: (cd openxm-ports/openxm-${VERSION}/pkg ; ${RCVS} commit -m 'AutomaticUpdate' PLIST)
1.6 takayama 32:
33:
34: make-tar-ball-for-openxm-port:
35: rm -rf work
1.9 takayama 36: mkdir work
1.6 takayama 37: (cd work ; $(RCVS) export -r${TAG} OpenXM/misc/packages/FreeBSD)
1.12 ! takayama 38: (cd work ; mv OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.3 openxm)
1.6 takayama 39: (cd work ; tar czf ${TAR_WORK}/openxm-port.tar.gz openxm)
1.1 takayama 40:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>