2013-05-06 15:34:17 +00:00
|
|
|
# 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
|
2009-01-24 13:15:50 +00:00
|
|
|
PORTVERSION= 3.7
|
2011-05-18 12:43:55 +00:00
|
|
|
PORTREVISION= 1
|
2005-10-21 08:21:15 +00:00
|
|
|
PORTEPOCH= 1
|
2011-05-02 09:41:27 +00:00
|
|
|
CATEGORIES?= editors
|
2009-08-22 00:20:34 +00:00
|
|
|
MASTER_SITES= SF/joe-editor/JOE%20sources/joe-${PORTVERSION}
|
2005-10-21 08:21:15 +00:00
|
|
|
|
2009-11-27 22:52:30 +00:00
|
|
|
MAINTAINER= sylvio@FreeBSD.org
|
2005-10-21 08:21:15 +00:00
|
|
|
COMMENT= Joe's Own Editor
|
|
|
|
|
|
|
|
BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
|
|
|
|
RUN_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
|
|
|
|
|
|
|
|
CONFLICTS= joe-2.*
|
|
|
|
|
2011-05-18 12:43:55 +00:00
|
|
|
LICENSE= GPLv1
|
2005-10-21 08:21:15 +00:00
|
|
|
USE_GMAKE= yes
|
2013-05-06 15:34:17 +00:00
|
|
|
USES= iconv ncurses
|
2005-10-21 08:21:15 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2013-09-04 18:06:07 +00:00
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${ICONV_LIB}"
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2005-10-21 08:21:15 +00:00
|
|
|
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
|
2006-08-16 06:29:33 +00:00
|
|
|
MANLANG= "" ru
|
|
|
|
|
2013-09-20 16:36:23 +00:00
|
|
|
NO_STAGE= yes
|
2005-10-21 08:21:15 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2013-05-06 15:34:17 +00:00
|
|
|
.if ! ${PORT_OPTIONS:MDOCS}
|
2009-04-07 15:27:45 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} 's,install-data-am: install-data_charmapsDATA install-data_docDATA,install-data-am: install-data_charmapsDATA,' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
2005-10-21 08:21:15 +00:00
|
|
|
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>
|