freebsd-ports/editors/mg/Makefile

29 lines
696 B
Makefile
Raw Normal View History

# Created by: Dima Dorfman <dima@unixfreak.org>
# $FreeBSD$
PORTNAME= mg
PORTVERSION= 20140414
CATEGORIES= editors
MASTER_SITES= http://homepage.boetes.org/software/mg/
MAINTAINER= darcsis@gmail.com
COMMENT= Small, fast Emacs-like editor
2014-02-20 09:11:09 +01:00
PLIST_FILES= bin/mg man/man1/mg.1.gz
PORTDOCS= README tutorial
2014-02-20 09:11:09 +01:00
OPTIONS_DEFINE= DOCS
pre-configure:
@${REINPLACE_CMD} -e 's|__dead|__dead2|' ${WRKSRC}/main.c
do-install:
2014-02-20 09:11:09 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
2014-02-20 09:11:09 +01:00
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>