Update editors/libreoffice-sid to version 5.3.7
[dports.git] / editors / gate / Makefile
1 # Created by: James Howard
2 # $FreeBSD$
3
4 PORTNAME=       gate
5 PORTVERSION=    2.06
6 PORTREVISION=   1
7 CATEGORIES=     editors
8 MASTER_SITES=   http://www.unixpapa.com/software/
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        Simple and unobtrusive line-oriented text editor
12
13 BUILD_DEPENDS=  aspell:textproc/aspell
14 RUN_DEPENDS=    aspell:textproc/aspell
15
16 USES=           ncurses
17 GNU_CONFIGURE=  yes
18
19 CONFIGURE_ARGS= --with-aspell=${LOCALBASE}/bin/aspell
20 ALL_TARGET=     gate gate.1
21
22 post-patch:
23         @${REINPLACE_CMD} -e \
24                 's|$${res_datadir}|${DATADIR}|g' ${WRKSRC}/configure
25         @${REINPLACE_CMD} -e \
26                 's|^char \*malloc();||g' ${WRKSRC}/term.c
27
28 do-install:
29         ${INSTALL_PROGRAM} ${WRKSRC}/gate ${STAGEDIR}${PREFIX}/bin
30         ${INSTALL_MAN} ${WRKSRC}/gate.1 ${STAGEDIR}${MANPREFIX}/man/man1
31         @${MKDIR} ${STAGEDIR}${DATADIR}
32         ${INSTALL_DATA} ${WRKSRC}/gate.help ${STAGEDIR}${DATADIR}
33
34 .include <bsd.port.mk>