1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Update to 0.4.0

- Fix portdocs

PR:		ports/116723
Submitted by:	David Johnson <david@usermode.org> (maintainer)
Approved by:	sat (mentor)
This commit is contained in:
Beech Rintoul 2007-10-09 22:57:11 +00:00
parent de0d021646
commit ce5142825a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201226
5 changed files with 19 additions and 52 deletions

View File

@ -6,35 +6,34 @@
#
PORTNAME= qbrew
PORTVERSION= 0.3.5
PORTREVISION= 1
PORTVERSION= 0.4.0
CATEGORIES= misc
MASTER_SITES= http://www.usermode.org/code/
MAINTAINER= david@usermode.org
COMMENT= A homebrewer's recipe calculator
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_QT_VER= 3
USE_QT_VER= 4
QT_COMPONENTS= qmake moc uic rcc xml gui
PORTDOCS= *
QT_NONSTANDARD= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --x-includes=${X11BASE}/include \
--x-libraries=${X11BASE}/lib \
--with-qt-dir=${X11BASE}
CONFIGURE_ENV= MOC=${X11BASE}/bin/moc \
UIC=${X11BASE}/bin/uic
HAS_CONFIGURE= yes
.include <bsd.port.pre.mk>
CONFIGURE_ENV+= HAVEDEFS="HAVE_ROUND" \
BINDIR="${PREFIX}/bin" \
DATADIR="${DATADIR}" \
DOCDIR="${DOCSDIR}"
post-patch:
pre-configure:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -E 's,^(SUBDIRS = .*) docs,\1,' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/INSTALLS/s|doc||' \
${WRKSRC}/qbrew.pro
.endif
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} -unix CONFIG+="configure" qbrew.pro
post-install:
${STRIP_CMD} ${PREFIX}/bin/qbrew
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (qbrew-0.3.5.tar.gz) = 677d48a34954deedf3c812e77e6462bb
SHA256 (qbrew-0.3.5.tar.gz) = 92f9c2cfbeac7f4a158a5cc17bf88ce372ed5bf2219091bf15bf7f0f70023fdb
SIZE (qbrew-0.3.5.tar.gz) = 458523
MD5 (qbrew-0.4.0.tar.gz) = 79c60eff3424558f077dd6f807558d6b
SHA256 (qbrew-0.4.0.tar.gz) = 7b8427f5309dafbbb8b6542642bb31efd8af114fd94c1e8708e0eb1cfda46779
SIZE (qbrew-0.4.0.tar.gz) = 283844

View File

@ -1,22 +0,0 @@
--- qbrew/calc.h.orig Sat Dec 16 14:34:28 2006
+++ qbrew/calc.h Sat Dec 16 14:34:52 2006
@@ -175,15 +175,15 @@
static int SRM(Recipe *r);
// convert Specific Gravity to Plato
- static double Calc::SgToP(double sg);
+ static double SgToP(double sg);
// convert grain extract to yield
- static double Calc::extractToYield(double extract);
- static double Calc::yieldToExtract(double yield);
+ static double extractToYield(double extract);
+ static double yieldToExtract(double yield);
// add an entry to the utilization table
static void addUEntry(const UEntry &u);
// get the table of utilizations
- static const QValueList<UEntry> &Calc::getUEntryList();
+ static const QValueList<UEntry> &getUEntryList();
private:
static double calcOG(Recipe *r);

View File

@ -2,6 +2,3 @@ QBrew is a homebrewer's recipe calculator. With it a brewer can formulate new
recipes and calculate gravity, bitterness, color and other attributes.
WWW: http://www.usermode.org/code.html
- David Johnson
david@usermode.org

View File

@ -1,11 +1,4 @@
bin/qbrew
%%DATADIR%%/ChangeLog
%%DATADIR%%/LICENSE
%%DATADIR%%/README
%%DATADIR%%/paleale.qbrew
%%DATADIR%%/qbrew.png
%%DATADIR%%/qbrew.svg
%%DATADIR%%/qbrewdata
%%DATADIR%%/splash.png
%%DATADIR%%/stout.qbrew
@dirrm %%DATADIR%%