2013-09-20 18:36:23 +02:00
|
|
|
# Created by: Dima Dorfman <dima@unixfreak.org>
|
2001-05-20 22:53:56 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mg
|
2014-04-19 07:38:38 +02:00
|
|
|
PORTVERSION= 20140414
|
2001-05-20 22:53:56 +02:00
|
|
|
CATEGORIES= editors
|
2014-04-19 07:38:38 +02:00
|
|
|
MASTER_SITES= http://homepage.boetes.org/software/mg/
|
2001-05-20 22:53:56 +02:00
|
|
|
|
2007-10-26 22:50:15 +02:00
|
|
|
MAINTAINER= darcsis@gmail.com
|
2014-06-10 09:39:01 +02:00
|
|
|
COMMENT= Small, fast Emacs-like editor
|
2001-05-20 22:53:56 +02:00
|
|
|
|
2014-02-20 09:11:09 +01:00
|
|
|
PLIST_FILES= bin/mg man/man1/mg.1.gz
|
2012-06-20 08:03:08 +02:00
|
|
|
PORTDOCS= README tutorial
|
|
|
|
|
2014-02-20 09:11:09 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2011-12-19 09:15:53 +01:00
|
|
|
pre-configure:
|
2014-04-19 07:38:38 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|__dead|__dead2|' ${WRKSRC}/main.c
|
2011-12-19 09:15:53 +01:00
|
|
|
|
2001-05-20 22:53:56 +02:00
|
|
|
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}
|
2012-06-20 08:03:08 +02:00
|
|
|
.for f in ${PORTDOCS}
|
2014-02-20 09:11:09 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
2007-10-23 20:13:32 +02:00
|
|
|
.endfor
|
2001-05-20 22:53:56 +02:00
|
|
|
|
2007-10-23 20:13:32 +02:00
|
|
|
.include <bsd.port.mk>
|