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