version 1.6, 2000/03/04 04:32:27 |
version 1.16, 2000/03/06 04:29:01 |
|
|
# $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/Makefile,v 1.5 2000/03/04 04:13:01 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/Makefile,v 1.15 2000/03/06 03:29:21 takayama Exp $ |
|
|
## 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 |
Line 25 MAINTAINER= takayama@math.sci.kobe-u.ac.jp |
|
Line 26 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 \ |
dvips:${PORTSDIR}/japanese/dvipsk-vflib \ |
dvips:${PORTSDIR}/japanese/dvipsk-vflib \ |
perl:${PORTSDIR}/japanese/perl5 \ |
/usr/local/bin/perl:${PORTSDIR}/japanese/perl5 \ |
jlatex2html:${PORTSDIR}/japanese/latex2html \ |
jlatex2html:${PORTSDIR}/japanese/latex2html \ |
makeinfo:${PORTSDIR}/japanese/texinfo \ |
makeinfo:${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 \ |
|
autoconf:${PORTSDIR}/devel/autoconf \ |
# xdvi:${PORTSDIR}/japanese/xdvik-vflib \ |
# xdvi:${PORTSDIR}/japanese/xdvik-vflib \ |
### Note: |
### Note: |
### In order to make dvips work, you need to modify |
### In order to make dvips work, you need to modify |
Line 41 BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf \ |
|
Line 44 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 ${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 |