freebsd-ports/editors/jove/Makefile
Tobias Kortkamp 49aeb93155 JOVE defines a getline function that collides with getline(3).
r419275 tried to fix it by renaming it to get_line, but a few renames
were missed leading to crashes when trying to run JOVE.  Finish the
previous work and also add LICENSE while here.

PR:		217516
Submitted by:	crahman@gmail.com (based on)
Reviewed by:	crahman@gmail.com
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D9881
2017-03-04 00:03:01 +00:00

27 lines
626 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/ \
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}
post-patch:
# Fix collisions with getline(3)
@${REINPLACE_CMD} 's|[[:<:]]getline[[:>:]]|get_line|g' ${WRKSRC}/*.c ${WRKSRC}/*.h
.include <bsd.port.mk>