freebsd-ports/graphics/fractorama/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00

39 lines
901 B
Makefile

# ex:ts=8
# New ports collection makefile for: fractorama
# Date created: Apr 15, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fractorama
PORTVERSION= 1.6.4
CATEGORIES= graphics
MASTER_SITES= http://fractorama.com/
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
USE_BISON= yes
USE_QT_VER= 3
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_GMAKE= yes
MAKE_ENV= QTCPPFLAGS="${QTCPPFLAGS}" QTCFGLIBS="${QTCFGLIBS}" MOC=${MOC}
ALL_TARGET= release
USE_REINPLACE= yes
post-patch:
@${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
${REINPLACE_CMD} -e "s,OPTIMIZE := -O2,OPTIMIZE := ${CFLAGS},g"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/../fractorama.exe ${PREFIX}/bin/fractorama
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/../examples/* ${EXAMPLESDIR}
${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/../doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>