1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/misc/qbrew/Makefile
Martin Wilke 9c2f65e395 - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4
Review by:	bapt, David Naylor (kde team)
2012-06-06 06:44:37 +00:00

39 lines
805 B
Makefile

# New ports collection makefile for: qbrew
# Date created: 22 September 2000
# Whom: David Johnson <david@usermode.org>
#
# $FreeBSD$
#
PORTNAME= qbrew
PORTVERSION= 0.4.1
PORTREVISION= 4
CATEGORIES= misc
MASTER_SITES= http://www.usermode.org/code/
MAINTAINER= david@usermode.org
COMMENT= A homebrewer's recipe calculator
USE_QT4= qmake_build moc_build uic_build rcc_build xml gui
PORTDOCS= *
HAS_CONFIGURE= yes
CONFIGURE_ENV+= BINDIR="${PREFIX}/bin" \
DATADIR="${DATADIR}" \
DOCDIR="${DOCSDIR}"
pre-configure:
.if defined(NOPORTDOCS)
@${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.mk>