summaryrefslogblamecommitdiff
path: root/graphics/mxp/Makefile
blob: 8b5d3dbfe06618ab13c58a01116cf49031386585 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                             
                 







                                                                  
           
                                




                                                            
                                                                  
                                                            








                                                                     
# 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>