64 lines
1.8 KiB
Makefile
Raw Normal View History

2001-04-14 03:57:00 +00:00
# $OpenBSD: Makefile,v 1.29 2001/04/14 03:57:00 brad Exp $
COMMENT= "Program for Internet E-mail and News, with editor"
COMMENT-pico= "small text editor"
COMMENT-pine= "Program for Internet E-mail and News, without editor"
1997-11-15 00:04:24 +00:00
2001-02-02 16:47:13 +00:00
VERSION= 4.33
DISTNAME= pine${VERSION}
PKGNAME= pine+pico-${VERSION}
PKGNAME-pico= pico-${VERSION}
PKGNAME-pine= pine-${VERSION}
NEED_VERSION= 1.384
1999-10-27 12:18:58 +00:00
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
ftp://ftp.sunet.se/pub/unix/mail/pine/
1997-11-15 00:04:24 +00:00
HOMEPAGE= http://www.washington.edu/pine/
2001-01-21 21:07:16 +00:00
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= Yes
FLAVORS= ldap
FLAVOR?=
MULTI_PACKAGES= -pico -pine
SUBPACKAGE?=
.if ${SUBPACKAGE} == "-pico"
CATEGORIES= editors
.elif ${SUBPACKAGE} == "-pine"
2001-04-14 03:57:00 +00:00
CATEGORIES= mail news
LIB_DEPENDS= c-client.2.1::mail/c-client
.else
CATEGORIES= mail news editors
2000-12-31 04:49:37 +00:00
LIB_DEPENDS= c-client.2.1::mail/c-client
.endif
2001-01-21 19:19:59 +00:00
.if ${FLAVOR:L:Mldap}
LIB_DEPENDS+= ldap.2::databases/openldap
2001-01-21 21:07:16 +00:00
MAKE_FLAGS= LDAPLIBS="-lldap -llber" \
2001-01-21 19:19:59 +00:00
LDAPCFLAGS="-DENABLE_LDAP -I${PREFIX}/include"
.endif
2000-12-31 04:49:37 +00: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
do-configure:
@cp -f ${FILESDIR}/Makefile ${WRKSRC}/Makefile
2000-02-12 06:29:49 +00:00
do-install:
${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-31 04:49:37 +00: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-15 00:04:24 +00:00
.include <bsd.port.mk>