freebsd-ports/textproc/gxditview/Makefile
2001-04-19 08:16:50 +00:00

39 lines
800 B
Makefile

# New ports collection makefile for: gxditview
# Date created: 24 June 1998
# Whom: Dom Mitchell <dom@myrddin.demon.co.uk>
#
# $FreeBSD$
#
PORTNAME= gxditview
CATEGORIES= textproc
DISTFILES= # none
MAINTAINER= dom@myrddin.demon.co.uk
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_IMAKE= yes
MAN1= gxditview.1
.if exists(/usr/src/contrib/groff/src/xditview)
GXDVSRC= /usr/src/contrib/groff/src/xditview
PORTVERSION= 1.17
.else
GXDVSRC= /usr/src/contrib/groff/xditview
PORTVERSION= 1.16.1
.endif
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>