2005-03-25 01:47:15 +00:00
|
|
|
# New ports collection makefile for: mxp
|
|
|
|
# Date Created: 18 March 2004
|
|
|
|
# Whom: NAKATA Maho <maho@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mxp
|
|
|
|
PORTVERSION= 1.3
|
2009-01-23 16:28:36 +00:00
|
|
|
PORTREVISION= 3
|
2005-03-25 01:47:15 +00:00
|
|
|
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=
|
2008-03-11 15:44:37 +00:00
|
|
|
USE_XORG= xaw xbitmaps xpm
|
2009-11-20 22:53:09 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2005-03-25 01:47:15 +00:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${CP} ${WRKSRC}/Makefile.noimake ${WRKSRC}/Makefile
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
|
|
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g ; \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
s|%%CFLAGS%%|${CFLAGS}|g ; \
|
2005-03-25 01:47:15 +00:00
|
|
|
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>
|