summaryrefslogtreecommitdiffstats
path: root/chinese/pine4/Makefile
blob: 3ae5a1d4e970b35339f0b3823feeb1496ae39d88 (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
48
49
50
51
52
53
54
55
56
57
58
# New ports collection makefile for:	pine
# http://www.washington.edu/pine/
# Version required:     4.02A
# Date created:		15 July 1998
# Whom:			Liang Tai-hwa <avatar@www.mmlab.cse.yzu.edu.tw>
#
# $Id: Makefile,v 1.6 1998/08/09 00:51:22 steve Exp $
#

DISTNAME=       pine4.02
PKGNAME=        zh-pine-4.02a
CATEGORIES=     chinese mail news
MASTER_SITES=	ftp://ftp.cac.washington.edu/pine/

PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	${DISTNAME}A.patch
PATCH_DIST_STRIP= -p1

MAINTAINER=	avatar@www.mmlab.cse.yzu.edu.tw

NO_LATEST_LINK= yes

MAN1= 		pine.1 pico.1 pilot.1

do-build:
	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf)

do-install:
	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
		${WRKSRC}/bin/libpico.so.2.0 ${PREFIX}/lib/libpico.so.2.0
	${INSTALL_PROGRAM} ${WRKSRC}/bin/pico ${PREFIX}/bin/pico
	${INSTALL_PROGRAM} ${WRKSRC}/bin/pilot ${PREFIX}/bin/pilot
	${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin/pine
	${INSTALL_SCRIPT} ${FILESDIR}/pgpencrypt ${PREFIX}/bin/pgpencrypt
	${INSTALL_SCRIPT} ${FILESDIR}/pgpdecode ${PREFIX}/bin/pgpdecode
	${INSTALL_SCRIPT} ${FILESDIR}/pgpsign ${PREFIX}/bin/pgpsign
	${INSTALL_DATA} ${FILESDIR}/dot.pinerc.sample \
			${PREFIX}/etc/dot.pinerc.sample
	${INSTALL_DATA} ${FILESDIR}/dot.pinerc.pgp.sample \
			${PREFIX}/etc/dot.pinerc.pgp.sample
	${INSTALL_MAN} ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1/pico.1
	${INSTALL_MAN} ${WRKSRC}/doc/pilot.1 ${PREFIX}/man/man1/pilot.1
	${INSTALL_MAN} ${WRKSRC}/doc/pine.1 ${PREFIX}/man/man1/pine.1
.if !defined(NOPORTDOCS)
	${INSTALL_DATA} -d ${PREFIX}/share/doc/pine
	${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} \
			${PREFIX}/share/doc/pine \
			${PREFIX}/share/doc/pine/tech-notes
	${INSTALL_DATA} ${WRKSRC}/doc/brochure.txt ${PREFIX}/share/doc/pine
	${INSTALL_DATA} ${WRKSRC}/doc/tech-notes.txt ${PREFIX}/share/doc/pine
	${INSTALL_DATA} ${WRKSRC}/doc/tech-notes/*.html \
			${PREFIX}/share/doc/pine/tech-notes/
.endif

post-install:
	${LDCONFIG} -m ${PREFIX}/lib/

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