aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-05-14 22:41:43 +0000
committerPatrick Li <pat@FreeBSD.org>2002-05-14 22:41:43 +0000
commitf7c047b9872d337336144fa4b1ffd6b0f1f611a2 (patch)
tree232d53787554fb04ded7988a290a2ae56572a505
parent52ab9de6268156b7e272afcf1541541a138b2dad (diff)
downloadports-f7c047b9872d337336144fa4b1ffd6b0f1f611a2.tar.gz
ports-f7c047b9872d337336144fa4b1ffd6b0f1f611a2.zip
Update to 0.3.1
PR: 37776 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=59116
-rw-r--r--misc/qbrew/Makefile28
-rw-r--r--misc/qbrew/distinfo2
-rw-r--r--misc/qbrew/pkg-plist10
3 files changed, 31 insertions, 9 deletions
diff --git a/misc/qbrew/Makefile b/misc/qbrew/Makefile
index 0aebebc3d212..96e225c9ae58 100644
--- a/misc/qbrew/Makefile
+++ b/misc/qbrew/Makefile
@@ -6,14 +6,36 @@
#
PORTNAME= qbrew
-PORTVERSION= 0.3.0
+PORTVERSION= 0.3.1
CATEGORIES= misc
MASTER_SITES= http://www.usermode.org/code/
MAINTAINER= david@usermode.org
-USE_QT_VER= 2
GNU_CONFIGURE= yes
-USE_GMAKE= yes
+
+QT_VERSION?= 2
+
+.if ${QT_VERSION} == "3"
+USE_QT_VER= 3
+CONFIGURE_ARGS+=--enable-threads
+pre-everything::
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Configuring for use with Qt 3.x libraries."
+ @${ECHO_MSG} "If you want to compile with Qt 2.x support,"
+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make QT_VERSION=2\""
+ @${ECHO_MSG}
+.else
+USE_QT_VER= 2
+pre-everything::
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Configuring for use with Qt 2.x libraries."
+ @${ECHO_MSG} "If you want to compile with Qt 3.x support,"
+ @${ECHO_MSG} "hit Ctrl-C right now and use \"make QT_VERSION=3\""
+ @${ECHO_MSG}
+.endif
+
+post-install:
+ strip ${PREFIX}/bin/qbrew
.include <bsd.port.mk>
diff --git a/misc/qbrew/distinfo b/misc/qbrew/distinfo
index 474ec918f89a..e0b7e7c72d21 100644
--- a/misc/qbrew/distinfo
+++ b/misc/qbrew/distinfo
@@ -1 +1 @@
-MD5 (qbrew-0.3.0.tar.gz) = c9a4965fcda970d84d553b34593afda0
+MD5 (qbrew-0.3.1.tar.gz) = 49ad525f4aa29e144b00dbffc82757c7
diff --git a/misc/qbrew/pkg-plist b/misc/qbrew/pkg-plist
index 07dad739cef1..2406decd944f 100644
--- a/misc/qbrew/pkg-plist
+++ b/misc/qbrew/pkg-plist
@@ -1,8 +1,4 @@
bin/qbrew
-share/doc/qbrew/ChangeLog
-share/doc/qbrew/LICENSE
-share/doc/qbrew/README
-share/doc/qbrew/TODO
share/doc/qbrew/en/primer-design.html
share/doc/qbrew/en/primer-equipment.html
share/doc/qbrew/en/primer-firstbrew.html
@@ -32,8 +28,12 @@ share/doc/qbrew/en/qbrew-using.html
share/doc/qbrew/en/qbrew.docbook
share/doc/qbrew/en/qbrew.dsl
share/doc/qbrew/en/sqa.docbook
+share/qbrew/LICENSE
+share/qbrew/README
+share/qbrew/paleale.qbrew
share/qbrew/qbrew.xpm
share/qbrew/qbrewdata
-@dirrm share/qbrew
+share/qbrew/stout.qbrew
@dirrm share/doc/qbrew/en
@dirrm share/doc/qbrew
+@dirrm share/qbrew