summaryrefslogtreecommitdiff
path: root/editors/pico-alpine/Makefile
blob: 54add22b63852e22cf19aa9d5289241c53d1ab4c (plain)
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
# $FreeBSD$

PORTNAME=	pico-alpine
PORTREVISION=	0
CATEGORIES=	editors
DISTNAME=	alpine-${PORTVERSION}

COMMENT=	[Al]PIne's message COmposition editor and Pilot file manager

MASTERDIR=	${.CURDIR}/../../mail/alpine

DESCR=		${.CURDIR}/pkg-descr
PLIST=		${.CURDIR}/pkg-plist

PATCHDIR=			# To void equivalent in master port
PKGMESSAGE=	/nonexistent	# To void equivalent in master port
PKGINSTALL=	/nonexistent	# To void equivalent in master port

PICO_ALPINE_SLAVE=	yes

post-patch:
	@${CP} ${WRKSRC}/imap/Makefile ${WRKSRC}/imap/Makefile.presed
	@${SED}	-e "s#^\(all:.*\) bundled\$$#\1#" \
		${WRKSRC}/imap/Makefile.presed > ${WRKSRC}/imap/Makefile
	@${CP} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.presed
	@${SED}	-e "s#^\(SUBDIRS.*pico\).*#\1#" \
		-e "s#^man_MANS.*#man_MANS = doc/man1/pico.1 doc/man1/pilot.1#" \
		${WRKSRC}/Makefile.in.presed > ${WRKSRC}/Makefile.in

.include "${MASTERDIR}/Makefile"