aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/FreeWnn-server/Makefile
blob: 24384071858bb2d18afb2212aba436be51fb0afc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# New ports collection makefile for:    Wnn
# Version required: 4.2
# Date created:     22 November 1994
# Whom:         asami
#
# $Id: Makefile,v 1.4 1994/11/25 18:20:48 asami Exp $
#

DISTNAME=   Wnn4.2
MASTER_SITES=   ftp://utsun.s.u-tokyo.ac.jp/fj/
IS_INTERACTIVE= yes
WRKSRC=     ${WRKDIR}/Xsi
PKG_ARGS?=  -v -c ${PKGDIR}/COMMENT -d ${PKGDIR}/DESCR -f ${PKGDIR}/PLIST \
            -r ${PKGDIR}/REQ -i ${PKGDIR}/INSTALL -p ${PREFIX}

# These are necesary because this package uses a different Makefile for
#  building and installing etc.
pre-build:
    @(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} Makefile.inst World)

pre-install:
    @PREFIX=${PREFIX} ${SCRIPTDIR}/pre-install
# This package uses imake's "install.man" target to install man pages but
#  I can't define USE_IMAKE because it doesn't involve xmkmf
    @(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install.man)

pre-reinstall: pre-install

.include <bsd.port.mk>