76c7f8fbe6
minor COMMENT typos and surrounding whitespace fixes. Categories D-F. CR: D196 Approved by: portmgr (bapt)
33 lines
859 B
Makefile
33 lines
859 B
Makefile
# Created by: James Howard
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gate
|
|
PORTVERSION= 2.06
|
|
PORTREVISION= 1
|
|
CATEGORIES= editors
|
|
MASTER_SITES= http://www.unixpapa.com/software/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Simple and unobtrusive line-oriented text editor
|
|
|
|
BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
|
|
RUN_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-aspell=${LOCALBASE}/bin/aspell
|
|
ALL_TARGET= gate gate.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|$${res_datadir}|${DATADIR}|g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e \
|
|
's|^char \*malloc();||g' ${WRKSRC}/term.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gate ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/gate.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/gate.help ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|