# New ports collection makefile for:   gxditview
# Version required:     1.10
# Date created:                24 June 1998
# Whom:                        Dom Mitchell <dom@myrddin.demon.co.uk>
#
# $FreeBSD: ports/textproc/gxditview/Makefile,v 1.3 1999/08/31 02:09:18 peter Exp $
#

# Same version as the contrib groff sources...
DISTNAME=	gxditview-1.10
CATEGORIES=	textproc
DISTFILES=	# none

MAINTAINER=     dom@myrddin.demon.co.uk

WRKSRC=		${WRKDIR}/${DISTNAME}

USE_IMAKE=	yes
MAN1=		gxditview.1

GXDVSRC?=	/usr/src/contrib/groff/xditview

do-extract:
	@if [ ! -d ${GXDVSRC} ]; then \
		${ECHO} "You need the gxditview source in"; \
		${ECHO} "${GXDVSRC}"; \
		${ECHO} "to build this port."; \
	exit 1; \
	fi
	@${RM} -rf ${WRKDIR}
	@${MKDIR} ${WRKSRC}
	${CP} -rp ${GXDVSRC}/* ${WRKSRC}

.include <bsd.port.mk>
