forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
42 lines (29 loc) · 846 Bytes
/
Makefile
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
38
39
40
41
42
# Created by: [email protected]
# $FreeBSD$
PORTNAME= joe
PORTVERSION= 4.2
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES?= editors
MASTER_SITES= SF/joe-editor/JOE%20sources/joe-${PORTVERSION}
MAINTAINER= [email protected]
COMMENT= Joe's Own Editor
LICENSE= GPLv2
OPTIONS_DEFINE= ASPELL DOCS
CONFLICTS= joe-2.*
USES= gmake iconv ncurses
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB}
ALL_TARGET= ${PORTNAME}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MASPELL}
RUN_DEPENDS= aspell:textproc/aspell
.endif
post-patch:
${REINPLACE_CMD} -e 's|docs/README.old docs/man.md ||' ${WRKSRC}/Makefile.in
post-install:
for rc in jmacsrc joerc jpicorc jstarrc rjoerc; do \
${MV} ${STAGEDIR}${ETCDIR}/$${rc} ${STAGEDIR}${ETCDIR}/$${rc}.sample ; \
done
.include <bsd.port.mk>