summaryrefslogtreecommitdiffstats
path: root/graphics/quat-gui
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-01-30 22:25:56 +0000
committerlioux <lioux@FreeBSD.org>2003-01-30 22:25:56 +0000
commit452861ff7e3bc87e9f8f374efad8f472e607973b (patch)
tree090ced2a6ed2e7dbcdf9e8557abd886c05594254 /graphics/quat-gui
parent3b882cf6cf90113dd3ff170f089ba29dbf3513c4 (diff)
downloadFreeBSD-ports-452861ff7e3bc87e9f8f374efad8f472e607973b.zip
FreeBSD-ports-452861ff7e3bc87e9f8f374efad8f472e607973b.tar.gz
Update to 1.20
Submitted by: maintainer
Diffstat (limited to 'graphics/quat-gui')
-rw-r--r--graphics/quat-gui/Makefile25
-rw-r--r--graphics/quat-gui/distinfo2
-rw-r--r--graphics/quat-gui/pkg-plist27
3 files changed, 50 insertions, 4 deletions
diff --git a/graphics/quat-gui/Makefile b/graphics/quat-gui/Makefile
index 5206ffa..abad595 100644
--- a/graphics/quat-gui/Makefile
+++ b/graphics/quat-gui/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= quat
-PORTVERSION= 1.11
+PORTVERSION= 1.20
CATEGORIES= graphics
MASTER_SITES= http://www.physcip.uni-stuttgart.de/phy11733/download/
PKGNAMESUFFIX= -gui
@@ -20,12 +20,33 @@ USE_X_PREFIX= yes
USE_MESA= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -L${X11BASE}/lib" LIBS="-lXext -lGL"
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -L${X11BASE}/lib" \
+ LIBS="-lXext -lGL"
+
+.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
post-patch:
@${REINPLACE_CMD} -E -e 's,-(march=pentium|O3|ffast-math),,g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -E -e 's|-I\.[[:space:]]+-I\$$\(srcdir\)[[:space:]]+||' \
${WRKSRC}/gui/Makefile.in
+# 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
+
+post-configure:
+ @${REINPLACE_CMD} -E -e \
+ 's|^(pkgdatadir).*$$|\1=${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}|' \
+ ${WRKSRC}/doc/Makefile
.include <bsd.port.mk>
diff --git a/graphics/quat-gui/distinfo b/graphics/quat-gui/distinfo
index c8955d1..b2afd28 100644
--- a/graphics/quat-gui/distinfo
+++ b/graphics/quat-gui/distinfo
@@ -1 +1 @@
-MD5 (quat-1.11.tar.gz) = ca8af28299924d32166278aa2ef30333
+MD5 (quat-1.20.tar.gz) = bd8326147fcd0e674a0f8d56a64fa787
diff --git a/graphics/quat-gui/pkg-plist b/graphics/quat-gui/pkg-plist
index 108dc93..b14216a 100644
--- a/graphics/quat-gui/pkg-plist
+++ b/graphics/quat-gui/pkg-plist
@@ -1,2 +1,27 @@
bin/quat
-lib/libquat.a
+%%PORTDOCS%%share/quat-gui/Dendr_st.jpg
+%%PORTDOCS%%share/quat-gui/ce.png
+%%PORTDOCS%%share/quat-gui/chart_de.png
+%%PORTDOCS%%share/quat-gui/chart_us.png
+%%PORTDOCS%%share/quat-gui/ex_1.jpg
+%%PORTDOCS%%share/quat-gui/ex_2.jpg
+%%PORTDOCS%%share/quat-gui/ex_3.jpg
+%%PORTDOCS%%share/quat-gui/gpl.html
+%%PORTDOCS%%share/quat-gui/ie.png
+%%PORTDOCS%%share/quat-gui/oe.png
+%%PORTDOCS%%share/quat-gui/ote.png
+%%PORTDOCS%%share/quat-gui/quat-de-1.html
+%%PORTDOCS%%share/quat-gui/quat-de-2.html
+%%PORTDOCS%%share/quat-gui/quat-de-3.html
+%%PORTDOCS%%share/quat-gui/quat-de-4.html
+%%PORTDOCS%%share/quat-gui/quat-de-5.html
+%%PORTDOCS%%share/quat-gui/quat-de.html
+%%PORTDOCS%%share/quat-gui/quat-us-1.html
+%%PORTDOCS%%share/quat-gui/quat-us-2.html
+%%PORTDOCS%%share/quat-gui/quat-us-3.html
+%%PORTDOCS%%share/quat-gui/quat-us-4.html
+%%PORTDOCS%%share/quat-gui/quat-us-5.html
+%%PORTDOCS%%share/quat-gui/quat-us.html
+%%PORTDOCS%%share/quat-gui/quat.png
+%%PORTDOCS%%share/quat-gui/ve.png
+%%PORTDOCS%%@dirrm share/quat-gui
OpenPOWER on IntegriCloud