1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/graphics/mxp/Makefile
2014-02-21 13:37:15 +00:00

44 lines
975 B
Makefile

# Created by: NAKATA Maho <maho@FreeBSD.org>
# $FreeBSD$
PORTNAME= mxp
PORTVERSION= 1.3
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= 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
MAKE_JOBS_UNSAFE= yes
PLIST_FILES= bin/${PORTNAME} \
%%PORTDOCS%%%%DOCSDIR%%/README
PLIST_DIRS= %%PORTDOCS%%%%DOCSDIR%%
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
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}/${PORTNAME} ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>