# Created by: Andreas Kohout <shanee@augusta.de>
# $FreeBSD: head/editors/asedit/Makefile 363374 2014-07-29 19:11:51Z adamw $

PORTNAME=	asedit
PORTVERSION=	1.3.2
PORTREVISION=	4
CATEGORIES=	editors
MASTER_SITES=	XCONTRIB/editors

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Text editor for X/Motif

USES=		imake:notall motif tar:Z
USE_XORG=	ice sm x11 xext xmu xp xt

PLIST_FILES=	bin/asedit \
		lib/X11/app-defaults/Asedit \
		lib/X11/app-defaults/Asedit-sgi \
		lib/X11/app-defaults/Asedit_em \
		lib/X11/app-defaults/Asedit_em-sgi \
		lib/X11/asedit.hlp \
		lib/X11/asedit_em.hlp \
		man/man1/asedit.1.gz

post-patch:
	@${REINPLACE_CMD} -e \
		'/^XMLIB/s|-lPW|| ; \
		 /^DEFINES/s|-O ||' ${WRKSRC}/Imakefile

.include <bsd.port.mk>
