diff options
author | krion <krion@FreeBSD.org> | 2003-08-26 20:26:22 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-08-26 20:26:22 +0000 |
commit | cd192745af5ecdc14e68a0232f320f334ad85031 (patch) | |
tree | 83b8b27461293c4fc55befe7f822eb301c8e15b9 /editors/gate/Makefile | |
parent | 18cfb33a9114bfc555dd9e7ece5635848c417498 (diff) | |
download | FreeBSD-ports-cd192745af5ecdc14e68a0232f320f334ad85031.zip FreeBSD-ports-cd192745af5ecdc14e68a0232f320f334ad85031.tar.gz |
- Update to version 2.05
PR: 56000
Submitted by: Ports Fury
Diffstat (limited to 'editors/gate/Makefile')
-rw-r--r-- | editors/gate/Makefile | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/editors/gate/Makefile b/editors/gate/Makefile index bcd7515..d8fcb38 100644 --- a/editors/gate/Makefile +++ b/editors/gate/Makefile @@ -6,26 +6,33 @@ # PORTNAME= gate -PORTVERSION= 2.04c +PORTVERSION= 2.05 CATEGORIES= editors -MASTER_SITES= http://www.wwnet.net/~janc/software/ -DISTNAME= ${PORTNAME} +MASTER_SITES= http://www.unixpapa.com/software/ MAINTAINER= ports@FreeBSD.org COMMENT= A simple and unobtrusive line-oriented text editor -RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell +RUN_DEPENDS= aspell:${PORTSDIR}/textproc/aspell +USE_REINPLACE= yes +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 ${PREFIX}/man/man1 - ${MKDIR} ${PREFIX}/share/gate - ${INSTALL_DATA} ${WRKSRC}/gate.help ${PREFIX}/share/gate + ${INSTALL_MAN} ${WRKSRC}/gate.1 ${MANPREFIX}/man/man1 + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/gate.help ${DATADIR} .include <bsd.port.mk> |