# New ports collection makefile for:	xenon
# Version required:			0.6.6
# Date created:				22 October 1999
# Whom:					Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD: ports/editors/xenon/Makefile,v 1.4 1999/12/22 14:08:55 jedgar Exp $
#

DISTNAME=	xenon-0.6.6
CATEGORIES=	editors
MASTER_SITES=	ftp://ftp.proximity.com.au/pub/xenon/

MAINTAINER=	jedgar@FreeBSD.org

LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm

USE_X_PREFIX=	yes

MAN1=		xe.1

pre-patch:
	@${CP} ${WRKSRC}/makefiles/Makefile.Linux ${WRKSRC}/makefiles/Makefile.FreeBSD

do-configure:
	@cd ${WRKSRC}; ${LN} -sf makefiles/Makefile.FreeBSD Makefile

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/xe ${PREFIX}/bin
	@${INSTALL_MAN} ${WRKSRC}/xe.1 ${PREFIX}/man/man1
	@${MKDIR} ${PREFIX}/share/examples/xe
	@${INSTALL_DATA} ${WRKSRC}/xerc ${PREFIX}/share/examples/xe/sample.xerc

.include <bsd.port.mk>
