mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
2d3c3b823e
Give the alpine/pkg-install script triple protection against being run inappropriately.
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# New ports collection makefile for: pico-alpine
|
|
# Date created: December 21, 2007
|
|
# Whom: Doug Barton <dougb@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pico-alpine
|
|
PORTREVISION= 1
|
|
CATEGORIES= editors
|
|
DISTNAME= alpine-${PORTVERSION}
|
|
|
|
COMMENT= [Al]PIne's message COmposition editor and Pilot file manager
|
|
|
|
LICENSE= ASL
|
|
|
|
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
|
|
|
|
MAN1= pico.1 pilot.1
|
|
|
|
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/pico.1 doc/pilot.1#" \
|
|
${WRKSRC}/Makefile.in.presed > ${WRKSRC}/Makefile.in
|
|
|
|
.include "${MASTERDIR}/Makefile"
|