version 1.7, 2000/03/04 04:34:22 |
version 1.21, 2000/03/17 15:35:47 |
|
|
# $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/Makefile,v 1.6 2000/03/04 04:32:27 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/Makefile,v 1.20 2000/03/17 15:05:39 takayama Exp $ |
|
|
|
## The name of this directory should be changed to openxm from openxm-1.1.2 |
## For debugging. |
## For debugging. |
#DISTDIR=$(HOME)/tmp |
#TAR_WORK=$(HOME)/tmp |
|
#DISTDIR=${TAR_WORK} |
|
|
## OpenXM is put under ${PREFIX}/OpenXM and ${PREFIX}/bin, man |
## OpenXM is put under ${PREFIX}/OpenXM and ${PREFIX}/bin, man |
## The default value of PREFIX is /usr/local |
## The default value of PREFIX is /usr/local |
## The next is for debugging. Do not forget to mkdir tmp2/bin. |
## The next is for debugging. Do not forget to mkdir tmp2/bin. |
#PREFIX=$(HOME)/tmp2 |
#PREFIX=$(HOME)/tmp2 |
|
|
|
## How to update pkg/PLIST |
|
# (1) uncomment #PREFIX=, #DISTDIR. |
|
# Put the source tar-ball under $DISTDIR |
|
# (2) make |
|
# Double check all the files are properly genered under work/openxm-1.1.2 |
|
# (3) (cd files ; make ; ./gen-plist.shell) |
|
# (4) Copy plist-tmp2 to pkg/PLIST and commit pkg/PLIST |
|
|
################ NOTE ######################## |
################ NOTE ######################## |
## Before typing in make, set your path to |
## Before typing in make, set your path to |
## set path=(/usr/local/jdk1.1.8/bin $path) |
## set path=(/usr/local/jdk1.1.8/bin $path) |
## rehash |
## rehash |
|
|
|
### 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 , make deinstall, pkg_delete openxm-1.1.2 , |
|
### pkg_add openxm-1.1.2.tgz] |
|
|
DISTNAME=openxm-1.1.2 |
DISTNAME=openxm-1.1.2 |
CATEGORIES= math |
CATEGORIES= math |
### Note |
### Note |
### We do not have openxm-1.1.2.tar.gz at the master site, because |
### We do not have openxm-1.1.2.tar.gz at the master site, because |
### the source code distribution is not allowed for OpenXM_contrib2/asir2000. |
### the source code distribution is not allowed for OpenXM_contrib2/asir2000. |
### Put openxm-1.1.2.tar.gz under /usr/ports/distfiles |
### Put openxm-1.1.2.tar.gz under /usr/ports/distfiles |
|
### The tar-ball can be generated by |
|
### (cd OpenXM/misc/packages/Generic ; make clean-work ; make tar-ball ) |
|
|
|
|
MAINTAINER= takayama@math.sci.kobe-u.ac.jp |
MAINTAINER= takayama@math.sci.kobe-u.ac.jp |
|
|
BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf \ |
BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf \ |
platex:${PORTSDIR}/japanese/platex-euc \ |
platex:${PORTSDIR}/japanese/platex-euc \ |
|
xdvi:${PORTSDIR}/japanese/xdvik-vflib \ |
dvips:${PORTSDIR}/japanese/dvipsk-vflib \ |
dvips:${PORTSDIR}/japanese/dvipsk-vflib \ |
/usr/local/bin/perl:${PORTSDIR}/japanese/perl5 \ |
/usr/local/bin/perl:${PORTSDIR}/japanese/perl5 \ |
jlatex2html:${PORTSDIR}/japanese/latex2html \ |
jlatex2html:${PORTSDIR}/japanese/latex2html \ |
makeinfo:${PORTSDIR}/japanese/texinfo \ |
jmakeinfo:${PORTSDIR}/japanese/texinfo \ |
javac:${PORTSDIR}/java/jdk \ |
texi2html:${PORTSDIR}/textproc/texi2html \ |
|
/usr/local/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk \ |
bash:${PORTSDIR}/shells/bash2 \ |
bash:${PORTSDIR}/shells/bash2 \ |
# xdvi:${PORTSDIR}/japanese/xdvik-vflib \ |
autoconf:${PORTSDIR}/devel/autoconf \ |
|
## I could not find a package for makeinfo. |
|
## makeinfo:${PORTSDIR}/print/texinfo \ |
### Note: |
### Note: |
### In order to make dvips work, you need to modify |
### In order to make dvips work, you need to modify |
### /usr/local/share/texmf/web2c/texmf.cnf. |
### /usr/local/share/texmf/web2c/texmf.cnf. |
Line 41 BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf \ |
|
Line 65 BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf \ |
|
### already exist. |
### already exist. |
### Unfortunately, japanese/vfxdvik is empty (2000, 3/4). |
### Unfortunately, japanese/vfxdvik is empty (2000, 3/4). |
|
|
RUN_DEPENDS= |
RUN_DEPENDS=/compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base \ |
|
java:${PORTSDIR}/java/jdk \ |
|
## /compat/linux/usr/bin/i386-redhat-linux-egcs:${PORTSDIR}/devel/linux_devtools \ |
|
|
|
|
|
|
|
pre-install: |
|
-/bin/rm -rf ${PREFIX}/OpenXM |
|
|
|
|
|
OpenXM_MANPAGES=${PREFIX}/OpenXM/man/man1/sm1.1 ${PREFIX}/OpenXM/man/man1/openxm.1 |
|
|
post-install : |
post-install : |
# Reguild shell files to start binaries and copy it to ${PREFIX}/bin |
# Reguild shell files to start binaries and copy it to ${PREFIX}/bin |
# Modify pkg/INSTALL, too. |
# Modify pkg/INSTALL, too. |
(cd ${PREFIX}/OpenXM/rc ; make clean ; make install PREFIX=${PREFIX}) |
(cd ${PREFIX}/OpenXM/rc ; make clean ; make install PREFIX=${PREFIX}) |
# |
# |
-gzip ${PREFIX}/man/man1/* |
-cp $(OpenXM_MANPAGES) ${PREFIX}/man/man1 |
echo "Take asir key following the instruction appearing in the starting message of asir." |
-gzip -f ${PREFIX}/man/man1/sm1.1 ${PREFIX}/man/man1/openxm.1 |
|
-cat pkg/MESSAGE |
|
|
## see /usr/share/mk/bsd.port.mk ==> /usr/ports/Mk/bsd.port/mk |
## see /usr/share/mk/bsd.port.mk ==> /usr/ports/Mk/bsd.port/mk |
## make -d A |
## make -d A |