summaryrefslogtreecommitdiff
path: root/graphics/mxp/Makefile
blob: 8b5d3dbfe06618ab13c58a01116cf49031386585 (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
33
34
35
36
# New ports collection makefile for:   mxp
# Date Created:                18 March 2004
# Whom:                        NAKATA Maho <maho@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	mxp
PORTVERSION=	1.3
PORTREVISION=	2
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=apps/math/fractals

MAINTAINER=	maho@FreeBSD.org
COMMENT=	Application for computing/exploring Mandelbrot set

WRKSRC=		${WRKDIR}/${PORTNAME}
ALL_TARGET=
USE_XORG=	xaw xbitmaps xpm

post-extract:
	@${CP} ${WRKSRC}/Makefile.noimake ${WRKSRC}/Makefile
post-patch:
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
				s|%%LOCALBASE%%|${LOCALBASE}|g ; \
				s|%%CFLAGS%%|${CFLAGS}|g ; \
				s|%%CC%%|${CC}|g'  ${WRKSRC}/Makefile
do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mxp ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>