2000-12-30 23:49:37 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2000/12/31 04:49:37 brad Exp $
|
1997-11-14 19:04:24 -05:00
|
|
|
|
2000-12-30 23:49:37 -05:00
|
|
|
VERSION= 4.31
|
2000-09-03 13:20:33 -04:00
|
|
|
DISTNAME= pine${VERSION}
|
2000-12-30 23:49:37 -05:00
|
|
|
NEED_VERSION= 1.336
|
1999-10-27 08:18:58 -04:00
|
|
|
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
|
|
|
|
ftp://ftp.sunet.se/pub/unix/mail/pine/
|
1997-11-14 19:04:24 -05:00
|
|
|
|
2000-09-17 10:56:26 -04:00
|
|
|
HOMEPAGE= http://www.washington.edu/pine/
|
|
|
|
|
2000-10-05 14:01:49 -04:00
|
|
|
MAINTAINER= Marco S Hyman <marc@openbsd.org>
|
2000-09-17 10:56:26 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= No
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MULTI_PACKAGES= -pine -pico
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
2000-09-03 13:20:33 -04:00
|
|
|
.if ${SUBPACKAGE} == "-pine"
|
|
|
|
PKGNAME= pine-${VERSION}
|
|
|
|
CATEGORIES= mail news
|
2000-12-30 23:49:37 -05:00
|
|
|
LIB_DEPENDS= c-client.2.1::mail/c-client
|
2000-09-03 13:20:33 -04:00
|
|
|
.elif ${SUBPACKAGE} == "-pico"
|
|
|
|
PKGNAME= pico-${VERSION}
|
|
|
|
CATEGORIES= editors
|
|
|
|
.else
|
|
|
|
PKGNAME= pine+pico-${VERSION}
|
|
|
|
CATEGORIES= mail news editors
|
2000-12-30 23:49:37 -05:00
|
|
|
LIB_DEPENDS= c-client.2.1::mail/c-client
|
2000-09-03 13:20:33 -04:00
|
|
|
.endif
|
2000-07-10 18:54:33 -04:00
|
|
|
|
2000-12-30 23:49:37 -05:00
|
|
|
post-patch:
|
|
|
|
@sed -e s#!!PREFIX!!#${PREFIX}#g \
|
|
|
|
${WRKSRC}/doc/tech-notes.txt > ${WRKSRC}/doc/tech-notes.txt.new
|
|
|
|
@mv ${WRKSRC}/doc/tech-notes.txt.new ${WRKSRC}/doc/tech-notes.txt
|
|
|
|
|
2000-07-10 18:54:33 -04:00
|
|
|
do-configure:
|
|
|
|
@cp -f ${FILESDIR}/Makefile ${WRKSRC}/Makefile
|
2000-02-12 01:29:49 -05:00
|
|
|
|
1998-08-03 00:11:48 -04:00
|
|
|
do-install:
|
2000-01-05 00:17:14 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pine
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/tech-notes.txt ${PREFIX}/share/doc/pine
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/dot.pinerc.pgp.sample ${PREFIX}/share/doc/pine
|
2000-12-30 23:49:37 -05:00
|
|
|
cd ${WRKSRC}/bin; ${INSTALL_PROGRAM} pico pilot pine ${PREFIX}/bin
|
|
|
|
cd ${FILESDIR}; ${INSTALL_SCRIPT} pgpencrypt pgpdecode pgpsign ${PREFIX}/bin
|
|
|
|
cd ${WRKSRC}/doc; ${INSTALL_MAN} pico.1 pilot.1 pine.1 ${PREFIX}/man/man1
|
1997-11-14 19:04:24 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|