1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/editors/mg/Makefile
Alex Kozlov 6f45551017 - Remove hardcoded CC [1] and PREFIX
- Remove pkg-plist

PR:	ports/168648 [1]
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
Approved By:	maintainer (timeout, 14 days), eadler, itetcu (mentors, implicit)
2012-06-20 06:03:08 +00:00

41 lines
906 B
Makefile

# New ports collection makefile for: mg
# Date created: 14 May 2001
# Whom: Dima Dorfman <dima@unixfreak.org>
#
# $FreeBSD$
#
PORTNAME= mg
PORTVERSION= 20110905
CATEGORIES= editors
MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/ \
http://homepage.boetes.org/software/mg/
MAINTAINER= darcsis@gmail.com
COMMENT= A small, fast Emacs-like editor
MAN1= mg.1
MANCOMPRESSED= no
PLIST_FILES= bin/mg
PORTDOCS= README tutorial
HAS_CONFIGURE= yes
pre-configure:
@${REINPLACE_CMD} -e 's|-Wno-error=unused-but-set-variable||g' \
-e '/^CC=/d' -e 's|-g -Wall|-Wall|' -e 's|/usr/local|${PREFIX}|' \
${WRKSRC}/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>