2002-08-30 02:27:12 +02:00
|
|
|
# New ports collection makefile for: quat-gui
|
|
|
|
# Date created: 2 May 2002
|
2007-07-06 01:39:06 +02:00
|
|
|
# Whom: David Yeske <dyeske@gmail.com>
|
2002-08-30 02:27:12 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= quat
|
2003-01-30 23:25:56 +01:00
|
|
|
PORTVERSION= 1.20
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 9
|
2002-08-30 02:27:12 +02:00
|
|
|
CATEGORIES= graphics
|
2004-01-28 10:12:50 +01:00
|
|
|
MASTER_SITES= http://www.physcip.uni-stuttgart.de/phy11733/download/
|
2002-08-30 02:27:12 +02:00
|
|
|
PKGNAMESUFFIX= -gui
|
|
|
|
DISTNAME= quat-${PORTVERSION:S/.p/pre/}
|
|
|
|
|
2009-02-03 00:44:01 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:17:17 +01:00
|
|
|
COMMENT= A Three-dimensional fractal creator (X11 GUI)
|
2002-08-30 02:27:12 +02:00
|
|
|
|
- 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 19:56:05 +02:00
|
|
|
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
|
2002-08-30 02:27:12 +02:00
|
|
|
|
- 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 19:56:05 +02:00
|
|
|
USE_XORG= xext
|
|
|
|
USE_GL= gl glut
|
2002-08-30 02:27:12 +02:00
|
|
|
GNU_CONFIGURE= yes
|
- 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 19:56:05 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \
|
|
|
|
LIBS="-lXext -lGL" FLUID="${LOCALBASE}/bin/fluid"
|
2003-01-30 23:25:56 +01:00
|
|
|
|
|
|
|
.if defined(WITH_OPTIMIZED_CFLAGS)
|
|
|
|
CFLAGS+= -O3 -ffast-math
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
.if !defined(WITH_OPTIMIZED_CFLAGS)
|
|
|
|
@${ECHO_MSG} "You can enable additional compilation optimizations"
|
|
|
|
@${ECHO_MSG} "by defining WITH_OPTIMIZED_CFLAGS"
|
|
|
|
.endif
|
2002-08-30 02:27:12 +02:00
|
|
|
|
|
|
|
post-patch:
|
2004-01-28 10:12:50 +01:00
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|^...CFLAGS=|#CFLAGS=|; \
|
|
|
|
s|^...CXXFLAGS=|#CXXFLAGS=|' \
|
2002-08-30 02:27:12 +02:00
|
|
|
${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -E -e 's|-I\.[[:space:]]+-I\$$\(srcdir\)[[:space:]]+||' \
|
|
|
|
${WRKSRC}/gui/Makefile.in
|
2003-01-30 23:25:56 +01:00
|
|
|
# disable data file installation since distfile does not do
|
|
|
|
# The Right Thing(TM)
|
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|^(install-data-am:).*$$|\1|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2009-04-08 09:39:08 +02:00
|
|
|
.ifdef NOPORTDOCS
|
|
|
|
@${REINPLACE_CMD} '/install-data-am:/s/install-pkgdataDATA//' \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
.endif
|
2003-01-30 23:25:56 +01:00
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|^(pkgdatadir).*$$|\1=${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}|' \
|
|
|
|
${WRKSRC}/doc/Makefile
|
2002-08-30 02:27:12 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|