mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
39 lines
932 B
Makefile
39 lines
932 B
Makefile
# New ports collection makefile for: gate
|
|
# Date created: 15 June 2000
|
|
# Whom: James Howard
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gate
|
|
PORTVERSION= 2.06
|
|
PORTREVISION= 1
|
|
CATEGORIES= editors
|
|
MASTER_SITES= http://www.unixpapa.com/software/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A 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
|
|
|
|
MAN1= 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 ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/gate.1 ${MANPREFIX}/man/man1
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/gate.help ${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|