blob: 16a9fc4eee70db3233d09862eea289490ab8eb4a (
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
43
44
45
46
47
48
49
50
51
52
53
54
|
# 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.64
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/ \
http://dougbarton.us/Downloads/
DISTNAME= pine${PORTVERSION}
MAINTAINER= DougB@FreeBSD.org
COMMENT= PIne's message COmposition editor
OPTIONS= ISPELL "Use ispell as the spell checker" on \
NO_SPELLER "Do not use a spell checker" off
.include <bsd.port.pre.mk>
.if !defined(WITH_NO_SPELLER)
.if !defined(WITHOUT_ISPELL)
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
.endif
.endif
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.post.mk>
|