[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages / FreeBSD / openxm-ports / openxm-1.1.3

Annotation of OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.3/Makefile, Revision 1.4

1.4     ! takayama    1: # $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.3/Makefile,v 1.3 2000/09/23 07:51:13 takayama Exp $
1.1       takayama    2:
1.2       takayama    3: ## The name of this directory should be changed to openxm from openxm-1.1.3
                      4: ## For debugging.
                      5: #TAR_WORK=$(HOME)/tmp
                      6: #DISTDIR=${TAR_WORK}
1.1       takayama    7:
1.2       takayama    8: ## OpenXM is put under  ${PREFIX}/OpenXM and ${PREFIX}/bin, man
                      9: ## The default value of PREFIX is /usr/local
                     10: ## The next is for debugging.  Do not forget to mkdir tmp2/bin.
                     11: #PREFIX=$(HOME)/tmp2
1.1       takayama   12:
1.2       takayama   13: ## How to update pkg/PLIST
                     14: # (1) uncomment #PREFIX=, #DISTDIR.
                     15: #     Put the source tar-ball under $DISTDIR
                     16: # (2) make
                     17: #     Double check all the files are properly genered under work/openxm-1.1.3
                     18: # (3) (cd files ; make ; ./gen-plist.shell)
                     19: # (4) Copy plist-tmp2 to pkg/PLIST and commit pkg/PLIST
1.1       takayama   20:
1.2       takayama   21: ################  NOTE ########################
                     22: ## Before typing in make, set your path to
                     23: ## set path=(/usr/local/jdk1.1.8/bin $path)
                     24: ## rehash
1.1       takayama   25:
1.2       takayama   26: ### How to test the port for openxm
                     27: ###     cd /usr/ports/math ; tar xzvf ${TAR_WORK}/openxm-port.tar.gz
                     28: ###     cp ${TAR_WORK}/openxm-1.1.3.tar.gz /usr/ports/distfiles
                     29: ###     cd /usr/ports/math/openxm ; make install
                     30: ###     [Try also make package , make deinstall, pkg_delete openxm-1.1.3 ,
                     31: ###      pkg_add openxm-1.1.3.tgz]
                     32:
1.3       takayama   33: PORTNAME=openxm
                     34: PORTVERSION=1.1.3
1.2       takayama   35: CATEGORIES= math
                     36:
                     37:
                     38: MAINTAINER= takayama@math.sci.kobe-u.ac.jp
                     39:
                     40: BUILD_DEPENDS=  nkf:${PORTSDIR}/japanese/nkf \
                     41:                    platex:${PORTSDIR}/japanese/platex-euc \
                     42:                                xdvi:${PORTSDIR}/japanese/xdvik-vflib \
                     43:                 dvips:${PORTSDIR}/japanese/dvipsk-vflib \
                     44:                                /usr/local/bin/perl:${PORTSDIR}/japanese/perl5 \
                     45:                 jlatex2html:${PORTSDIR}/japanese/latex2html \
                     46:                 jmakeinfo:${PORTSDIR}/japanese/texinfo \
                     47:                                texi2html:${PORTSDIR}/textproc/texi2html \
                     48:                 /usr/local/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk \
                     49:                                bash:${PORTSDIR}/shells/bash2 \
                     50:                            autoconf:${PORTSDIR}/devel/autoconf \
                     51: ## I could not find a package for makeinfo.
                     52: ##                makeinfo:${PORTSDIR}/print/texinfo \
                     53: ### Note:
                     54: ### In order to make dvips work, you need to modify
                     55: ###  /usr/local/share/texmf/web2c/texmf.cnf.
                     56: ###  See /var/db/pkg/japanese/dvipsk-vflib/+DISPLAY.
                     57: ### If your dvips does not work properly after this change,
                     58: ### uncomment the line         xdvi:${PORTSDIR}/japanese/xdvik-vflib \
                     59: ### However, xdvi itself does not work fine: try to generate pkfonts that
                     60: ### already exist.
                     61: ### Unfortunately, japanese/vfxdvik is empty (2000, 3/4).
                     62:
                     63: RUN_DEPENDS=/compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base \
                     64:                java:${PORTSDIR}/java/jdk \
                     65: ##             /compat/linux/usr/bin/i386-redhat-linux-egcs:${PORTSDIR}/devel/linux_devtools \
                     66:
                     67:
                     68:
                     69: pre-install:
                     70:        -/bin/rm -rf ${PREFIX}/OpenXM
                     71:
                     72:
                     73: OpenXM_MANPAGES=${PREFIX}/OpenXM/man/man1/sm1.1 ${PREFIX}/OpenXM/man/man1/openxm.1
                     74:
                     75: post-install :
                     76: # Reguild shell files to start binaries and copy it to ${PREFIX}/bin
                     77: #    Modify pkg/INSTALL, too.
                     78:        (cd ${PREFIX}/OpenXM/rc ; make clean ; make install PREFIX=${PREFIX})
                     79: #
                     80:        -cp $(OpenXM_MANPAGES) ${PREFIX}/man/man1
                     81:        -gzip -f ${PREFIX}/man/man1/sm1.1 ${PREFIX}/man/man1/openxm.1
                     82:        -cat pkg/MESSAGE
                     83:
                     84: ## see /usr/share/mk/bsd.port.mk ==> /usr/ports/Mk/bsd.port/mk
                     85: ## make -d A
                     86: .include <bsd.port.mk>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>