# Created by: krion
# $FreeBSD: editors/aewan/Makefile 327720 2013-09-20 16:36:23Z bapt $

PORTNAME=	aewan
PORTVERSION=	1.0.01
CATEGORIES=	editors
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Curses-based program for the creation and editing of ASCII art

GNU_CONFIGURE=	yes
USE_GMAKE=	yes

MAN1=		aecat.1 aewan.1 aemakeflic.1
MAN5=		aewan.5
PLIST_FILES=	bin/aecat bin/aewan bin/aemakeflic

.if !defined(NOPORTDOCS)
PORTDOCS=	*
.endif

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e 's|OSTYPE == |OSTYPE = |g' ${WRKSRC}/configure

.if !defined(NOPORTDOCS)
post-install:
	@${MKDIR} ${DOCSDIR}
.for i in README
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
