summaryrefslogtreecommitdiff
path: root/editors/mp/Makefile
blob: f3a6b604c00e769e678d2dc117fd03e5b81835bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	mp
# Date created:			Apr 12, 2001
# Whom:				Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=	mp
PORTVERSION=	3.2.7
CATEGORIES=	editors
MASTER_SITES=	http://triptico.dhis.org/download/

MAINTAINER=	markp@FreeBSD.org
COMMENT=	A programming text editor

USE_GMAKE=	yes
USE_REINPLACE=	yes
MAKE_ARGS+=	PREFIX="${PREFIX}"
MAKEFILE=	makefile

post-patch:
	${REINPLACE_CMD} "s/gcc -g -Wall/${CC} ${CFLAGS} -Wall/g; \
		s/mp gmp/mp/g" ${WRKSRC}/makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mp ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}
.endif

.include <bsd.port.mk>