2001-04-07 06:46:38 +00:00
|
|
|
# New ports collection makefile for: qbrew
|
|
|
|
# Date created: 22 September 2000
|
|
|
|
# Whom: David Johnson <david@usermode.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qbrew
|
2002-05-14 22:41:43 +00:00
|
|
|
PORTVERSION= 0.3.1
|
2001-04-07 06:46:38 +00:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://www.usermode.org/code/
|
|
|
|
|
|
|
|
MAINTAINER= david@usermode.org
|
2003-02-21 12:51:06 +00:00
|
|
|
COMMENT= A homebrewer's recipe calculator
|
2001-04-07 06:46:38 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2002-05-14 22:41:43 +00:00
|
|
|
|
2002-08-05 21:45:04 +00:00
|
|
|
QT_VERSION?= 3
|
2002-05-14 22:41:43 +00:00
|
|
|
|
|
|
|
.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
|
2001-04-07 06:46:38 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|