aboutsummaryrefslogtreecommitdiff
path: root/graphics/quat
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-01-30 22:25:56 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-01-30 22:25:56 +0000
commite2c8af71c963acffb546dd0940d132e1fbb80a96 (patch)
treed7e8e00b79b6c43187200c8507e29f8f7395e3bc /graphics/quat
parentf83606bb98133e75a2747cb1a8a5b53c3d8e3232 (diff)
downloadports-e2c8af71c963acffb546dd0940d132e1fbb80a96.tar.gz
ports-e2c8af71c963acffb546dd0940d132e1fbb80a96.zip
Notes
Diffstat (limited to 'graphics/quat')
-rw-r--r--graphics/quat/Makefile25
-rw-r--r--graphics/quat/distinfo2
-rw-r--r--graphics/quat/pkg-plist28
3 files changed, 51 insertions, 4 deletions
diff --git a/graphics/quat/Makefile b/graphics/quat/Makefile
index fb03e7380657..60aed9ea8097 100644
--- a/graphics/quat/Makefile
+++ b/graphics/quat/Makefile
@@ -6,20 +6,41 @@
#
PORTNAME= quat
-PORTVERSION= 1.11
+PORTVERSION= 1.20
CATEGORIES= graphics
MASTER_SITES= http://www.physcip.uni-stuttgart.de/phy11733/download/
MAINTAINER= dyeske@yahoo.com
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-gui
+CONFIGURE_ARGS= --disable-gui \
+ --datadir=${PREFIX}/share/doc
USE_REINPLACE= yes
+.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}/kernel/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
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -E -e \
+ 's|^(SUBDIRS.*)doc|\1|' \
+ ${WRKSRC}/Makefile.in
+.endif
.include <bsd.port.mk>
diff --git a/graphics/quat/distinfo b/graphics/quat/distinfo
index c8955d1f2427..b2afd2822e2b 100644
--- a/graphics/quat/distinfo
+++ b/graphics/quat/distinfo
@@ -1 +1 @@
-MD5 (quat-1.11.tar.gz) = ca8af28299924d32166278aa2ef30333
+MD5 (quat-1.20.tar.gz) = bd8326147fcd0e674a0f8d56a64fa787
diff --git a/graphics/quat/pkg-plist b/graphics/quat/pkg-plist
index c684881c5c7d..49b1a74d4ce5 100644
--- a/graphics/quat/pkg-plist
+++ b/graphics/quat/pkg-plist
@@ -1 +1,27 @@
-bin/quat
+bin/quat-txt
+%%PORTDOCS%%share/doc/quat/Dendr_st.jpg
+%%PORTDOCS%%share/doc/quat/ce.png
+%%PORTDOCS%%share/doc/quat/chart_de.png
+%%PORTDOCS%%share/doc/quat/chart_us.png
+%%PORTDOCS%%share/doc/quat/ex_1.jpg
+%%PORTDOCS%%share/doc/quat/ex_2.jpg
+%%PORTDOCS%%share/doc/quat/ex_3.jpg
+%%PORTDOCS%%share/doc/quat/gpl.html
+%%PORTDOCS%%share/doc/quat/ie.png
+%%PORTDOCS%%share/doc/quat/oe.png
+%%PORTDOCS%%share/doc/quat/ote.png
+%%PORTDOCS%%share/doc/quat/quat-de-1.html
+%%PORTDOCS%%share/doc/quat/quat-de-2.html
+%%PORTDOCS%%share/doc/quat/quat-de-3.html
+%%PORTDOCS%%share/doc/quat/quat-de-4.html
+%%PORTDOCS%%share/doc/quat/quat-de-5.html
+%%PORTDOCS%%share/doc/quat/quat-de.html
+%%PORTDOCS%%share/doc/quat/quat-us-1.html
+%%PORTDOCS%%share/doc/quat/quat-us-2.html
+%%PORTDOCS%%share/doc/quat/quat-us-3.html
+%%PORTDOCS%%share/doc/quat/quat-us-4.html
+%%PORTDOCS%%share/doc/quat/quat-us-5.html
+%%PORTDOCS%%share/doc/quat/quat-us.html
+%%PORTDOCS%%share/doc/quat/quat.png
+%%PORTDOCS%%share/doc/quat/ve.png
+%%PORTDOCS%%@dirrm share/doc/quat