blob: 7bcf82f3060aae607ef318b90e0ffe75632d0205 (
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
31
32
33
34
35
36
37
|
# 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>
|