mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
df975d029b
- Add patches which replace reallocarray by realloc(3) PR: 200682 Submitted by: myself Approved by: darcsis (maintainer, timeout > 3 weeks)
29 lines
696 B
Makefile
29 lines
696 B
Makefile
# Created by: Dima Dorfman <dima@unixfreak.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mg
|
|
PORTVERSION= 20150323
|
|
CATEGORIES= editors
|
|
MASTER_SITES= http://homepage.boetes.org/software/mg/
|
|
|
|
MAINTAINER= darcsis@gmail.com
|
|
COMMENT= Small, fast Emacs-like editor
|
|
|
|
PLIST_FILES= bin/mg man/man1/mg.1.gz
|
|
PORTDOCS= README tutorial
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
pre-configure:
|
|
@${REINPLACE_CMD} -e 's|__dead|__dead2|' ${WRKSRC}/main.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|