summaryrefslogtreecommitdiffstats
path: root/editors/pico/Makefile
blob: fee85d9d86cb5d99b0538d1624721a165fd5d4ad (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
# New ports collection makefile for:	pico
# Date created:			16 December 2000
# Whom:				Jeremy Shaffner <jeremy@external.org>
#
# $FreeBSD$
#
# All patch files have been taken from mail/pine4

PORTNAME=	pico
PORTVERSION=	4.62
CATEGORIES=	editors
MASTER_SITES=	ftp://ftp.cac.washington.edu/pine/ \
		http://mirror.sit.wisc.edu/pub/net/mail/pine/ \
		ftp://sunsite.icm.edu.pl/pub/unix/mail/pine/ \
		ftp://ftp.uni-magdeburg.de/pub/mirror/ftp.cac.washington.edu/pine/ \
		ftp://ftp.fu-berlin.de/unix/mail/pine/ \
		ftp://ftp.ut.ee/pub/unix/mail/pine/ \
		ftp://gd.tuwien.ac.at/infosys/mail/pine/
DISTNAME=	pine${PORTVERSION}

MAINTAINER=	DougB@FreeBSD.org
COMMENT=	PIne's message COmposition editor

RUN_DEPENDS=	ispell:${PORTSDIR}/textproc/ispell

WRKSRC=		${WRKDIR}/pine${PORTVERSION}/pico
PATCH_WRKSRC=	${WRKSRC}/..

MAKEFILE=	makefile.bsf
ALL_TARGET=	pico

MAN1=		pico.1
PLIST_FILES=	bin/pico

post-patch:
	${CP} ${WRKSRC}/osdep/os-bsf.h ${WRKSRC}/osdep/os-bsf.h.presed
	${SED} -e "s:@@PREFIX@@:${PREFIX}:g" \
	${WRKSRC}/osdep/os-bsf.h.presed > ${WRKSRC}/osdep/os-bsf.h

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pico ${PREFIX}/bin/pico
	${INSTALL_MAN} ${WRKSRC}/../doc/pico.1 ${PREFIX}/man/man1/pico.1

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