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

Annotation of OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/Makefile, Revision 1.22

1.22    ! maekawa     1: # $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/Makefile,v 1.21 2000/03/17 15:35:47 takayama Exp $
1.1       takayama    2:
1.17      takayama    3: ## The name of this directory should be changed to openxm from openxm-1.1.2
1.5       takayama    4: ## For debugging.
1.18      takayama    5: #TAR_WORK=$(HOME)/tmp
                      6: #DISTDIR=${TAR_WORK}
1.1       takayama    7:
                      8: ## OpenXM is put under  ${PREFIX}/OpenXM and ${PREFIX}/bin, man
1.5       takayama    9: ## The default value of PREFIX is /usr/local
1.1       takayama   10: ## The next is for debugging.  Do not forget to mkdir tmp2/bin.
1.18      takayama   11: #PREFIX=$(HOME)/tmp2
1.17      takayama   12:
                     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.2
                     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.4       takayama   21: ################  NOTE ########################
                     22: ## Before typing in make, set your path to
                     23: ## set path=(/usr/local/jdk1.1.8/bin $path)
                     24: ## rehash
                     25:
1.17      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.2.tar.gz /usr/ports/distfiles
                     29: ###     cd /usr/ports/math/openxm ; make install
1.19      takayama   30: ###     [Try also make package , make deinstall, pkg_delete openxm-1.1.2 ,
1.17      takayama   31: ###      pkg_add openxm-1.1.2.tgz]
                     32:
1.1       takayama   33: DISTNAME=openxm-1.1.2
                     34: CATEGORIES= math
1.5       takayama   35: ### Note
                     36: ### We do not have openxm-1.1.2.tar.gz at the master site, because
                     37: ### the source code distribution is not allowed for OpenXM_contrib2/asir2000.
                     38: ### Put openxm-1.1.2.tar.gz under /usr/ports/distfiles
1.17      takayama   39: ### The tar-ball can be generated by
                     40: ### (cd OpenXM/misc/packages/Generic ; make clean-work ; make tar-ball )
                     41:
1.1       takayama   42:
                     43: MAINTAINER= takayama@math.sci.kobe-u.ac.jp
                     44:
                     45: BUILD_DEPENDS=  nkf:${PORTSDIR}/japanese/nkf \
                     46:                    platex:${PORTSDIR}/japanese/platex-euc \
1.17      takayama   47:                                xdvi:${PORTSDIR}/japanese/xdvik-vflib \
1.1       takayama   48:                 dvips:${PORTSDIR}/japanese/dvipsk-vflib \
1.7       takayama   49:                                /usr/local/bin/perl:${PORTSDIR}/japanese/perl5 \
1.1       takayama   50:                 jlatex2html:${PORTSDIR}/japanese/latex2html \
1.20      takayama   51:                 jmakeinfo:${PORTSDIR}/japanese/texinfo \
1.8       takayama   52:                                texi2html:${PORTSDIR}/textproc/texi2html \
1.10      takayama   53:                 /usr/local/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk \
1.4       takayama   54:                                bash:${PORTSDIR}/shells/bash2 \
1.14      takayama   55:                            autoconf:${PORTSDIR}/devel/autoconf \
1.20      takayama   56: ## I could not find a package for makeinfo.
                     57: ##                makeinfo:${PORTSDIR}/print/texinfo \
1.5       takayama   58: ### Note:
                     59: ### In order to make dvips work, you need to modify
                     60: ###  /usr/local/share/texmf/web2c/texmf.cnf.
                     61: ###  See /var/db/pkg/japanese/dvipsk-vflib/+DISPLAY.
                     62: ### If your dvips does not work properly after this change,
                     63: ### uncomment the line         xdvi:${PORTSDIR}/japanese/xdvik-vflib \
1.4       takayama   64: ### However, xdvi itself does not work fine: try to generate pkfonts that
                     65: ### already exist.
                     66: ### Unfortunately, japanese/vfxdvik is empty (2000, 3/4).
1.1       takayama   67:
1.11      takayama   68: RUN_DEPENDS=/compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base \
1.13      takayama   69:                java:${PORTSDIR}/java/jdk \
1.15      takayama   70: ##             /compat/linux/usr/bin/i386-redhat-linux-egcs:${PORTSDIR}/devel/linux_devtools \
1.11      takayama   71:
                     72:
1.1       takayama   73:
1.9       takayama   74: pre-install:
1.22    ! maekawa    75:        -${RM} -rf ${PREFIX}/OpenXM
1.9       takayama   76:
1.10      takayama   77:
1.16      takayama   78: OpenXM_MANPAGES=${PREFIX}/OpenXM/man/man1/sm1.1 ${PREFIX}/OpenXM/man/man1/openxm.1
1.10      takayama   79:
1.1       takayama   80: post-install :
                     81: # Reguild shell files to start binaries and copy it to ${PREFIX}/bin
                     82: #    Modify pkg/INSTALL, too.
1.2       takayama   83:        (cd ${PREFIX}/OpenXM/rc ; make clean ; make install PREFIX=${PREFIX})
1.1       takayama   84: #
1.22    ! maekawa    85:        -${CP} $(OpenXM_MANPAGES) ${PREFIX}/man/man1
        !            86:        -${GZIP_CMD} ${PREFIX}/man/man1/sm1.1 ${PREFIX}/man/man1/openxm.1
        !            87:        -${CAT} pkg/MESSAGE
1.1       takayama   88:
                     89: ## see /usr/share/mk/bsd.port.mk ==> /usr/ports/Mk/bsd.port/mk
                     90: ## make -d A
                     91: .include <bsd.port.mk>

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