PORTNAME=	jupp
PORTVERSION=	3.1.41
PORTREVISION=	1
CATEGORIES=	editors
MASTER_SITES=	http://www.mirbsd.org/MirOS/dist/jupp/ \
		http://pub.allbsd.org/MirOS/dist/jupp/
DISTNAME=	joe-${PORTVERSION:C/([0-9]+\.[0-9]+)\.([0-9]+)/\1${PORTNAME}\2/}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Portable version of Joe's Own Editor from MirBSD
WWW=		https://www.mirbsd.org/jupp.htm

LICENSE=	GPLv1

CONFLICTS=	joe

USES=		tar:tgz
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS=	--disable-termidx
WRKSRC=		${WRKDIR}/${PORTNAME}

pre-configure:
	@${CHMOD} +x ${WRKSRC}/configure

.include <bsd.port.mk>
