mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
ce5142825a
- Fix portdocs PR: ports/116723 Submitted by: David Johnson <david@usermode.org> (maintainer) Approved by: sat (mentor)
40 lines
811 B
Makefile
40 lines
811 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.0
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://www.usermode.org/code/
|
|
|
|
MAINTAINER= david@usermode.org
|
|
COMMENT= A homebrewer's recipe calculator
|
|
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= qmake moc uic rcc xml gui
|
|
PORTDOCS= *
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= HAVEDEFS="HAVE_ROUND" \
|
|
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>
|