=================================================================== RCS file: /home/cvs/OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/Makefile,v retrieving revision 1.4 retrieving revision 1.12 diff -u -p -r1.4 -r1.12 --- OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/Makefile 2000/03/04 04:00:47 1.4 +++ OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/Makefile 2000/03/05 06:11:55 1.12 @@ -1,9 +1,11 @@ -# $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/Makefile,v 1.3 2000/03/04 01:35:18 takayama Exp $ +# $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/Makefile,v 1.11 2000/03/05 02:25:23 takayama Exp $ -## For debugging. Put openxm-1.1.2.tar.gz at DISTDIR -#DISTDIR=$(HOME)/tmp +## For debugging. +#TAR_WORK=$(HOME)/tmp +#DISTDIR=${TAR_WORK} ## OpenXM is put under ${PREFIX}/OpenXM and ${PREFIX}/bin, man +## The default value of PREFIX is /usr/local ## The next is for debugging. Do not forget to mkdir tmp2/bin. #PREFIX=$(HOME)/tmp2 @@ -14,32 +16,52 @@ DISTNAME=openxm-1.1.2 CATEGORIES= math -MASTER_SITES=ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/1.1.2/ +### Note +### 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. +### Put openxm-1.1.2.tar.gz under /usr/ports/distfiles MAINTAINER= takayama@math.sci.kobe-u.ac.jp BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf \ platex:${PORTSDIR}/japanese/platex-euc \ dvips:${PORTSDIR}/japanese/dvipsk-vflib \ + /usr/local/bin/perl:${PORTSDIR}/japanese/perl5 \ jlatex2html:${PORTSDIR}/japanese/latex2html \ 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 \ -### If your dvips does not work properly, add the next one. +# xdvi:${PORTSDIR}/japanese/xdvik-vflib \ +### Note: +### In order to make dvips work, you need to modify +### /usr/local/share/texmf/web2c/texmf.cnf. +### See /var/db/pkg/japanese/dvipsk-vflib/+DISPLAY. +### If your dvips does not work properly after this change, +### uncomment the line xdvi:${PORTSDIR}/japanese/xdvik-vflib \ ### However, xdvi itself does not work fine: try to generate pkfonts that ### already exist. ### Unfortunately, japanese/vfxdvik is empty (2000, 3/4). - xdvi:${PORTSDIR}/japanese/xdvik-vflib \ -RUN_DEPENDS= +RUN_DEPENDS=/compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base \ + /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/* + post-install : # Reguild shell files to start binaries and copy it to ${PREFIX}/bin # Modify pkg/INSTALL, too. (cd ${PREFIX}/OpenXM/rc ; make clean ; make install PREFIX=${PREFIX}) # - -gzip ${PREFIX}/man/man1/* - echo "Take asir key following the instruction appearing in the starting message of asir." + -gzip $(OpenXM_MANPAGES) + -cp $(OpenXM_MANPAGES) ${PREFIX}/man/man1 + -cat pkg/MESSAGE ## see /usr/share/mk/bsd.port.mk ==> /usr/ports/Mk/bsd.port/mk ## make -d A