version 1.3, 2000/03/05 06:11:54 |
version 1.6, 2000/03/11 05:44:15 |
|
|
# $OpenXM: OpenXM/misc/packages/FreeBSD/Makefile,v 1.2 2000/03/03 05:23:32 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/FreeBSD/Makefile,v 1.5 2000/03/11 02:45:53 takayama Exp $ |
|
VERSION=1.1.2 |
|
TAG=HEAD |
|
|
|
usage: |
|
@echo "Targets: " |
|
@echo " clean " |
|
@echo " update-plist " |
|
|
all : |
all : |
|
|
clean: |
clean: |
-/bin/rm -rf openxm-1.1.2/OpenXM openxm-1.1.2/OpenXM_contrib openxm-1.1.2/OpenXM_contrib2 |
-/bin/rm -rf openxm-ports/openxm-1.1.2/work openxm-ports/openxm-1.1.2/openxm-1.1.2.tgz work |
-/bin/rm -rf openxm-ports/openxm-1.1.2/work openxm-ports/openxm-1.1.2/openxm-1.1.2.tgz |
|
## tmp2 might be used to debug openxm-1.1.2 for ports. |
## tmp2 might be used to debug openxm-1.1.2 for ports. |
-/bin/rm -rf $(HOME)/tmp2/OpenXM $(HOME)/tmp2/bin |
-/bin/rm -rf $(HOME)/tmp2/OpenXM $(HOME)/tmp2/bin |
-mkdir $(HOME)/tmp2 |
-mkdir $(HOME)/tmp2 |
-mkdir $(HOME)/tmp2/bin |
-mkdir $(HOME)/tmp2/bin |
|
|
|
## You need to put the source tar ball under $(HOME)/tmp |
|
update-plist : |
|
-mkdir $(HOME)/tmp2 $(HOME)/tmp2/bin $(HOME)/tmp2/man $(HOME)/tmp2/man/man1 |
|
(cd openxm-ports/openxm-${VERSION} ; make TAR_WORK=$(HOME)/tmp DISTDIR=$(HOME)/tmp PREFIX=$(HOME)/tmp2) |
|
(cd openxm-ports/openxm-${VERSION}/files ; make ; ./gen-plist.shell) |
|
(cd openxm-ports/openxm-${VERSION}/files ; cp plist-tmp2 ../pkg/PLIST) |
|
(cd openxm-ports/openxm-${VERSION}/pkg ; rcvs commit -m 'Automatic update by update-plist' PLIST) |
|
|
|
|
|
make-tar-ball-for-openxm-port: |
|
rm -rf work |
|
(cd work ; $(RCVS) export -r${TAG} OpenXM/misc/packages/FreeBSD) |
|
(cd work ; OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2 openxm) |
|
(cd work ; tar czf ${TAR_WORK}/openxm-port.tar.gz openxm) |
|
|