1# New ports collection makefile for:	pico-alpine
2# Date created:				December 21, 2007
3# Whom:					Lucas Holt <luke@midnightbsd.org>
4
5PORTNAME=	pico-alpine
6PORTREVISION=	0
7CATEGORIES=	editors
8DISTNAME=	alpine-${PORTVERSION}
9
10COMMENT=	[Al]PIne's message COmposition editor and Pilot file manager
11LICENSE=	Apache-2.0
12
13MASTERDIR=	${.CURDIR}/../../mail/alpine
14
15DESCR=		${.CURDIR}/pkg-descr
16PLIST=		${.CURDIR}/pkg-plist
17
18PATCHDIR=			# To void equivalent in master port
19PKGMESSAGE=	/nonexistent	# To void equivalent in master port
20PKGINSTALL=	/nonexistent	# To void equivalent in master port
21CPE_PRODUCT=	alpine
22
23PICO_ALPINE_SLAVE=	yes
24
25post-patch:
26	@${CP} ${WRKSRC}/imap/Makefile ${WRKSRC}/imap/Makefile.presed
27	@${SED}	-e "s#^\(all:.*\) bundled\$$#\1#" \
28		${WRKSRC}/imap/Makefile.presed > ${WRKSRC}/imap/Makefile
29	@${CP} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.presed
30	@${SED}	-e "s#^\(SUBDIRS.*pico\).*#\1#" \
31		-e "s#^man_MANS.*#man_MANS = doc/man1/pico.1 doc/man1/pilot.1#" \
32		${WRKSRC}/Makefile.in.presed > ${WRKSRC}/Makefile.in
33
34.include "${MASTERDIR}/Makefile"
35