1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/editors/joe/Makefile
Tobias Kortkamp bc2eb4b4da editors/joe: Update to 4.6
PR:		228761
Submitted by:	wen
Approved by:	juergen.gotteswinter@googlemail.com (maintainer timeout, 1 month)
2018-07-07 14:35:51 +00:00

38 lines
783 B
Makefile

# Created by: torstenb@FreeBSD.org
# $FreeBSD$
PORTNAME= joe
PORTVERSION= 4.6
PORTEPOCH= 1
CATEGORIES?= editors
MASTER_SITES= SF/joe-editor/JOE%20sources/joe-${PORTVERSION}
MAINTAINER= juergen.gotteswinter@googlemail.com
COMMENT= Joe's Own Editor
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS= joe-2.*
USES= gmake iconv localbase ncurses
GNU_CONFIGURE= yes
CONFIGURE_ENV= SPELL=aspell
LIBS+= ${ICONV_LIB}
ALL_TARGET= ${PORTNAME}
OPTIONS_DEFINE= ASPELL DOCS
ASPELL_RUN_DEPENDS= aspell:textproc/aspell
post-patch:
${REINPLACE_CMD} -e 's|docs/README.old docs/man.md ||' ${WRKSRC}/Makefile.in
post-install:
.for rc in ftyperc jmacsrc joerc jpicorc jstarrc rjoerc
${MV} ${STAGEDIR}${ETCDIR}/${rc} ${STAGEDIR}${ETCDIR}/${rc}.sample
.endfor
.include <bsd.port.mk>