aboutsummaryrefslogtreecommitdiff
path: root/japanese/weblint97/Makefile
blob: 8ad1334868173122183f7d8d4a2a179fd558d400 (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
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:	weblint97
# Date created:		27 Jun 1997
# Whom:			Takayuki Ariga <a00821@cc.hc.keio.ac.jp>
#
# $FreeBSD$
#

PORTNAME=	weblint97
PORTVERSION=	0.12
CATEGORIES=	japanese www
MASTER_SITES=	http://www.sfc.keio.ac.jp/~mimasa/jweblint/ \
		ftp://ftp.win.ne.jp/pub/network/www/weblint/ \
		ftp://ftp.hipecs.hokudai.ac.jp/pub/network/WWW/contrib/
DISTNAME=	weblint-97-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org

RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/jcode.pl:${PORTSDIR}/japanese/jcode.pl

WRKSRC=		${WRKDIR}/weblint-97
MANLANG=	ja
MAN1=		jweblint.1
MAKE_ENV=	PERLLIBDIR="${PERLLIBDIR}"
ALL_TARGET=	euc-jp
INSTALL_TARGET=	jinstall

PORTDOCDIR?=	${PREFIX}/share/doc/jweblint
PERLLIBDIR?=	${PREFIX}/lib/perl

pre-install:
	@${SED} -e "s,%PERLLIBDIR%,${PERLLIBDIR},g" < ${WRKSRC}/jweblint.tmp \
		> ${WRKSRC}/jweblint
.if !exists(${PERLLIBDIR})
	@${MKDIR} ${PERLLIBDIR}
.endif
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PORTDOCDIR}
	@${INSTALL_DATA} ${WRKSRC}/l10n/ja-jp/jmanpage.html ${PORTDOCDIR}
	@${INSTALL_DATA} ${WRKSRC}/l10n/ja-jp/warnings.html ${PORTDOCDIR}
.endif

.include <bsd.port.mk>