summaryrefslogtreecommitdiff
path: root/japanese/Wnn6/Makefile
blob: daa3f49248a55061c8b54c3c685a5808da5dd521 (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
30
31
32
# New ports collection makefile for:	Wnn
# Version required:	4.2
# Date created:		22 November 1994
# Whom:			asami
#
# $Id:$
#

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:
	@echo "===>  Building for ${DISTNAME}"
	@(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} Makefile.inst World)
build: configure pre-build depends ${BUILD_COOKIE}
	@${TOUCH} ${TOUCH_FLAGS} ${BUILD_COOKIE}

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>