summaryrefslogtreecommitdiffstats
path: root/japanese/slrn/Makefile
blob: 36027960fb52c35f4bdf39bdc09e7a3b4a5d37f3 (plain)
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
# New ports collection makefile for:	ja-slrn
# Date created:		6 Sept 1999
# Whom:			Takashi Mega <mega@minz.org>
#
# $FreeBSD$
#

PORTNAME=	slrn
PORTVERSION=	0.9.6.2
CATEGORIES=	japanese news
MASTER_SITES=	ftp://space.mit.edu/pub/davis/slrn/ \
		http://kondara.sdri.co.jp/~kikutani/slang/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		${PORTNAME}-doc-j0.9.5.6-0.tar.gz

PATCH_SITES=	${MASTER_SITE_PORTS_JP}
PATCHFILES= 	${PORTNAME}-${PORTVERSION}jp0.pat.gz
PATCH_DIST_STRIP=-p1

MAINTAINER=	ukatsuta@mud.biglobe.ne.jp

LIB_DEPENDS=	slang.2:${PORTSDIR}/japanese/libslang

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
JDOCSRC=	${WRKDIR}/${PORTNAME}-doc-j0.9.5.6-0
GNU_CONFIGURE=	yes
ALL_TARGET=	all slrnpull
MANLANG=	'' ja
MAN1=		slrn.1

pre-install:
	strip ${WRKSRC}/src/i386objs/slrn
	strip ${WRKSRC}/src/i386objs/slrnpull

post-install:
	${INSTALL_MAN} ${JDOCSRC}/slrn.1 ${PREFIX}/man/ja/man1
	${CP} -r ${JDOCSRC} ${PREFIX}/share/doc/slrn/ja

.include <bsd.port.mk>
OpenPOWER on IntegriCloud