summaryrefslogtreecommitdiffstats
path: root/korean/pine/Makefile
blob: 46f9b533b81bfa3cd18011da0f1ea22d5f3ab948 (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
40
41
42
43
44
45
46
47
# New ports collection makefile for:	pine-ko
# Date created:		15 Mar 1998
# Whom:			CHOI Junho <junker@jazz.snu.ac.kr>
#
# k3 means pico hangul patch
#
# $FreeBSD$
#

PORTNAME=	pine
PORTVERSION=	3.96k.3
CATEGORIES=	korean mail news
MASTER_SITES=	ftp://ftp.cac.washington.edu/pine/old/ \
		ftp://ftp.kaist.ac.kr/pub/hangul/incoming/ \
		ftp://ftp.kreonet.re.kr/pub/hangul/cair-archive/incoming/
DISTNAME=	pine3.96
DISTFILES=	pine3.96.tar.Z pine396k2.tar.gz

PATCH_SITES=	ftp://ftp.kr.freebsd.org/pub/users/cjh/unix-app/misc/
PATCHFILES=	pico-3.96-hangul.patch

MAINTAINER=	cjh@FreeBSD.org

FORBIDDEN=	"Remotely exploitable buffer overflows."

MAKE_ENV=	FILESDIR=${FILESDIR}
MAN1= 		pine.1 pico.1 pilot.1

post-patch:
	@cd ${WRKSRC} && \
	${PATCH} -s -p1 < ${WRKDIR}/pine396k2/pine396k2.patch
	@cd ${WRKDIR} && \
	${PATCH} -s < ${FILESDIR}/dot.pinerc.ko.sample.patch

post-install:
	${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
		${PREFIX}/share/doc/pine
	cd ${WRKSRC} && \
		${INSTALL_DATA} doc/tech-notes.txt ${PREFIX}/share/doc/pine
		${INSTALL_DATA} ${WRKDIR}/pine396k2/README \
		${PREFIX}/share/doc/pine/README.patch.ko
		${INSTALL_DATA} ${WRKDIR}/pine396k2/pine.doc \
		${PREFIX}/share/doc/pine/README.pine.ko
		${INSTALL_DATA} ${WRKDIR}/pine396k2/pinerc.sample \
		${PREFIX}/etc/dot.pinerc.ko.sample

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