1994-09-04 01:08:46 +00:00
|
|
|
# New ports collection makefile for: pine
|
1999-03-15 01:41:19 +00:00
|
|
|
# Version required: 4.10
|
1998-07-18 05:49:22 +00:00
|
|
|
# Date created: 09 July 1998
|
|
|
|
# Whom: Adrian Penisoara <ady@freebsd.ady.ro>
|
1994-09-04 01:08:46 +00:00
|
|
|
#
|
1999-08-25 06:51:17 +00:00
|
|
|
# $FreeBSD$
|
1994-09-04 01:08:46 +00:00
|
|
|
#
|
1999-06-23 03:40:26 +00:00
|
|
|
# The changes to ?= on some of these lines is required for the
|
|
|
|
# pine4-ssl port. Also, please mirror changes to the files/
|
|
|
|
# directory to the pine4-ssl port.
|
1994-09-04 01:08:46 +00:00
|
|
|
|
1999-06-23 03:40:26 +00:00
|
|
|
DISTNAME?= pine4.10
|
|
|
|
PKGNAME?= pine-4.10
|
1996-12-04 20:43:27 +00:00
|
|
|
CATEGORIES= mail news
|
1995-04-11 20:28:32 +00:00
|
|
|
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/
|
1997-02-06 08:45:06 +00:00
|
|
|
|
1999-06-23 03:40:26 +00:00
|
|
|
MAINTAINER?= pine@freebsd.ady.ro
|
1998-07-18 05:49:22 +00:00
|
|
|
|
1999-01-13 02:47:33 +00:00
|
|
|
Y2K= http://www.washington.edu/pine/QandA/sysadmins.html#Millenium
|
|
|
|
|
1996-11-17 07:42:58 +00:00
|
|
|
MAN1= pine.1 pico.1 pilot.1
|
1995-05-18 08:55:37 +00:00
|
|
|
|
1998-10-05 04:23:19 +00:00
|
|
|
post-patch:
|
|
|
|
for i in ${WRKSRC}/doc/pine.1 \
|
|
|
|
${WRKSRC}/pine/init.c \
|
|
|
|
${WRKSRC}/pine/pine.hlp \
|
|
|
|
${WRKSRC}/pine/mailcap.c \
|
|
|
|
${WRKSRC}/pine/osdep/os-bsf.h ; do \
|
|
|
|
${MV} $$i $$i.sed ; \
|
|
|
|
${SED} -e "s:@@PREFIX@@:${PREFIX}:g" \
|
|
|
|
$$i.sed >$$i ; \
|
|
|
|
${RM} $$i.sed ; \
|
|
|
|
done
|
|
|
|
for i in ${WRKSRC}/doc/tech-notes.txt \
|
|
|
|
${WRKSRC}/doc/tech-notes/*.html ; do \
|
|
|
|
${MV} $$i $$i.sed ; \
|
|
|
|
${SED} -e "s:/usr/local/lib/:${PREFIX}/etc/:g" \
|
|
|
|
$$i.sed >$$i ; \
|
|
|
|
${RM} $$i.sed ; \
|
|
|
|
done
|
|
|
|
|
1998-07-18 05:49:22 +00:00
|
|
|
do-build:
|
|
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf)
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${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.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)
|
1998-07-29 16:44:03 +00:00
|
|
|
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} \
|
1998-08-13 06:49:34 +00:00
|
|
|
${PREFIX}/share/doc/pine \
|
1998-07-29 16:44:03 +00:00
|
|
|
${PREFIX}/share/doc/pine/tech-notes
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/brochure.txt ${PREFIX}/share/doc/pine
|
1998-07-18 05:49:22 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/tech-notes.txt ${PREFIX}/share/doc/pine
|
1998-07-29 16:44:03 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/tech-notes/*.html \
|
|
|
|
${PREFIX}/share/doc/pine/tech-notes/
|
1998-07-18 05:49:22 +00:00
|
|
|
.endif
|
|
|
|
|
1997-03-26 02:12:28 +00:00
|
|
|
post-install:
|
1998-10-05 04:23:19 +00:00
|
|
|
${PREFIX}/bin/pine -P ${PREFIX}/etc/pine.conf -conf >${WRKSRC}/pine.conf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pine.conf ${PREFIX}/etc/pine.conf
|
1997-03-26 02:12:28 +00:00
|
|
|
|
1994-09-03 20:43:16 +00:00
|
|
|
.include <bsd.port.mk>
|