1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/editors/joe/Makefile

48 lines
1.0 KiB
Makefile
Raw Normal View History

# Created by: torstenb@FreeBSD.org
1999-08-25 05:57:29 +00:00
# $FreeBSD$
1995-07-05 15:08:51 +00:00
2000-04-14 00:25:54 +00:00
PORTNAME= joe
PORTVERSION= 3.7
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES?= editors
MASTER_SITES= SF/joe-editor/JOE%20sources/joe-${PORTVERSION}
MAINTAINER= sylvio@FreeBSD.org
COMMENT= Joe's Own Editor
BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
RUN_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
CONFLICTS= joe-2.*
LICENSE= GPLv1
USE_GMAKE= yes
USES= iconv ncurses
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${ICONV_LIB}"
CPPFLAGS+= -I${LOCALBASE}/include
ALL_TARGET= ${PORTNAME}
MAN1= ${PORTNAME}.1
MANLANG= "" ru
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ! ${PORT_OPTIONS:MDOCS}
post-patch:
${REINPLACE_CMD} 's,install-data-am: install-data_charmapsDATA install-data_docDATA,install-data-am: install-data_charmapsDATA,' \
${WRKSRC}/Makefile.in
.endif
post-install:
.for file in jmacsrc jpicorc jstarrc rjoerc joerc
.if !exists(${PREFIX}/etc/${PORTNAME}/${file})
@${CP} ${PREFIX}/etc/${PORTNAME}/${file} ${PREFIX}/etc/${PORTNAME}/${file}.dist
.endif
.endfor
.include <bsd.port.post.mk>