2000-07-21 12:11:44 +02:00
|
|
|
# New ports collection makefile for: gate
|
|
|
|
# Date created: 15 June 2000
|
|
|
|
# Whom: James Howard
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gate
|
2005-07-18 08:16:18 +02:00
|
|
|
PORTVERSION= 2.06
|
2000-07-21 12:11:44 +02:00
|
|
|
CATEGORIES= editors
|
2003-08-26 22:26:22 +02:00
|
|
|
MASTER_SITES= http://www.unixpapa.com/software/
|
2000-07-21 12:11:44 +02:00
|
|
|
|
2003-08-16 00:25:31 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:38:28 +01:00
|
|
|
COMMENT= A simple and unobtrusive line-oriented text editor
|
2000-07-21 12:11:44 +02:00
|
|
|
|
2003-08-26 22:26:22 +02:00
|
|
|
BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
|
|
|
|
RUN_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
|
2000-07-21 12:11:44 +02:00
|
|
|
|
2003-08-26 22:26:22 +02:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-aspell=${LOCALBASE}/bin/aspell
|
2000-07-21 12:11:44 +02:00
|
|
|
ALL_TARGET= gate gate.1
|
|
|
|
|
|
|
|
MAN1= gate.1
|
|
|
|
|
2003-08-26 22:26:22 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|$${res_datadir}|${DATADIR}|g' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|^char \*malloc();||g' ${WRKSRC}/term.c
|
|
|
|
|
2000-07-21 12:11:44 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gate ${PREFIX}/bin
|
2003-08-26 22:26:22 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/gate.1 ${MANPREFIX}/man/man1
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gate.help ${DATADIR}
|
2000-07-21 12:11:44 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|