View | Details | Raw Unified | Return to bug 116723
Collapse All | Expand All

(-)qbrew/Makefile (-17 / +12 lines)
Lines 6-38 Link Here
6
#
6
#
7
7
8
PORTNAME=	qbrew
8
PORTNAME=	qbrew
9
PORTVERSION=	0.3.5
9
PORTVERSION=	0.4.0
10
PORTREVISION=	1
11
CATEGORIES=	misc
10
CATEGORIES=	misc
12
MASTER_SITES=	http://www.usermode.org/code/
11
MASTER_SITES=	http://www.usermode.org/code/
13
12
14
MAINTAINER=	david@usermode.org
13
MAINTAINER=	david@usermode.org
15
COMMENT=	A homebrewer's recipe calculator
14
COMMENT=	A homebrewer's recipe calculator
16
15
17
USE_GMAKE=	yes
16
USE_QT_VER=	4
18
GNU_CONFIGURE=	yes
17
QT_COMPONENTS=	qmake moc uic rcc xml gui
19
USE_QT_VER=	3
20
PORTDOCS=	*
18
PORTDOCS=	*
21
QT_NONSTANDARD=	yes
19
HAS_CONFIGURE=	yes
22
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
20
23
CONFIGURE_ARGS=		--x-includes=${X11BASE}/include	\
21
CONFIGURE_ENV+=	HAVEDEFS="HAVE_ROUND" \
24
			--x-libraries=${X11BASE}/lib \
22
		BINDIR="${PREFIX}/bin" \
25
			--with-qt-dir=${X11BASE}
23
		DATADIR="${DATADIR}" \
26
CONFIGURE_ENV=		MOC=${X11BASE}/bin/moc \
24
		DOCDIR="${DOCSDIR}"
27
			UIC=${X11BASE}/bin/uic
28
25
29
.include <bsd.port.pre.mk>
26
.include <bsd.port.pre.mk>
30
27
31
post-patch:
28
do-configure:
32
.if defined(NOPORTDOCS)
29
	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
33
	@${REINPLACE_CMD} -E 's,^(SUBDIRS = .*) docs,\1,' \
30
		${QMAKE} -unix CONFIG+="configure" qbrew.pro
34
		${WRKSRC}/Makefile.in
35
.endif
36
31
37
post-install:
32
post-install:
38
	${STRIP_CMD} ${PREFIX}/bin/qbrew
33
	${STRIP_CMD} ${PREFIX}/bin/qbrew
(-)qbrew/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (qbrew-0.3.5.tar.gz) = 677d48a34954deedf3c812e77e6462bb
1
MD5 (qbrew-0.4.0.tar.gz) = 79c60eff3424558f077dd6f807558d6b
2
SHA256 (qbrew-0.3.5.tar.gz) = 92f9c2cfbeac7f4a158a5cc17bf88ce372ed5bf2219091bf15bf7f0f70023fdb
2
SHA256 (qbrew-0.4.0.tar.gz) = 7b8427f5309dafbbb8b6542642bb31efd8af114fd94c1e8708e0eb1cfda46779
3
SIZE (qbrew-0.3.5.tar.gz) = 458523
3
SIZE (qbrew-0.4.0.tar.gz) = 283844
(-)qbrew/files/patch-qbrew-calc.h (-22 lines)
Lines 1-22 Link Here
1
--- qbrew/calc.h.orig	Sat Dec 16 14:34:28 2006
2
+++ qbrew/calc.h	Sat Dec 16 14:34:52 2006
3
@@ -175,15 +175,15 @@
4
     static int SRM(Recipe *r);
5
 
6
     // convert Specific Gravity to Plato
7
-    static double Calc::SgToP(double sg);
8
+    static double SgToP(double sg);
9
     // convert grain extract to yield
10
-    static double Calc::extractToYield(double extract);
11
-    static double Calc::yieldToExtract(double yield);
12
+    static double extractToYield(double extract);
13
+    static double yieldToExtract(double yield);
14
 
15
     // add an entry to the utilization table
16
     static void addUEntry(const UEntry &u);
17
     // get the table of utilizations
18
-    static const QValueList<UEntry> &Calc::getUEntryList();
19
+    static const QValueList<UEntry> &getUEntryList();
20
 
21
  private:
22
     static double calcOG(Recipe *r);
(-)qbrew/pkg-plist (-7 lines)
Lines 1-11 Link Here
1
bin/qbrew
1
bin/qbrew
2
%%DATADIR%%/ChangeLog
3
%%DATADIR%%/LICENSE
4
%%DATADIR%%/README
5
%%DATADIR%%/paleale.qbrew
6
%%DATADIR%%/qbrew.png
7
%%DATADIR%%/qbrew.svg
8
%%DATADIR%%/qbrewdata
2
%%DATADIR%%/qbrewdata
9
%%DATADIR%%/splash.png
3
%%DATADIR%%/splash.png
10
%%DATADIR%%/stout.qbrew
11
@dirrm %%DATADIR%%
4
@dirrm %%DATADIR%%

Return to bug 116723