1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/editors/jove/Makefile
Tobias C. Berner 3c7b8575b9 editors/jove: fix fetch
PR:		248588
Submitted by:	gspu <gspurki@gmail.com>
2020-08-15 08:42:58 +00:00

38 lines
935 B
Makefile

# Created by: jkh
# $FreeBSD$
PORTNAME= jove
PORTVERSION= 4.16
PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/moraes/jove/ARCHIVE/4.16/ \
LOCAL/simon
MAINTAINER= ports@FreeBSD.org
COMMENT= Jonathan's Own Version of Emacs
LICENSE= JOVE
LICENSE_NAME= JOVE License
LICENSE_FILE= ${WRKSRC}/README
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= ncurses
MAKE_ARGS= LIBS="${LDFLAGS} -lncurses"
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= EXTRADOCS
EXTRADOCS_DESC= Build and install cmds.doc
EXTRADOCS_USES= groff
OPTIONS_DEFAULT=
OPTIONS_SUB= yes
post-patch:
# Fix collisions with getline(3)
@${REINPLACE_CMD} 's|[[:<:]]getline[[:>:]]|get_line|g' ${WRKSRC}/*.c ${WRKSRC}/*.h
post-patch-EXTRADOCS-off:
@${REINPLACE_CMD} -E 's|^(all:.*) doc/cmds\.doc$$|\1|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} 's|^CMDS.DOC = .*|CMDS.DOC=|' ${WRKSRC}/Makefile
.include <bsd.port.mk>