1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/sysutils/warden/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

52 lines
1.1 KiB
Makefile

# New ports collection makefile for: warden
# Date created: Mar 29, 2010
# Whom: Kris Moore
#
# $FreeBSD$
#
PORTNAME= warden
PORTVERSION= 1.1.2
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.pcbsd.org/pub/software/ \
http://www.pcbsd.org/~kris/software/
MAINTAINER= kmoore@FreeBSD.org
COMMENT= PC-BSD's Jail Management Utility
RUN_DEPENDS= pbreg:${PORTSDIR}/sysutils/pbreg
WRKSRC= ${WRKDIR}/warden
USE_QT4= corelib gui qmake_build moc_build rcc_build uic_build
HAS_CONFIGURE= yes
QMAKE_PRO= warden.pro
QMAKE_ARGS= -unix -recursive ${QMAKE_PRO}
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/warden.pro \
${WRKSRC}/scripts/rc.d/wardenrc \
${WRKSRC}/src/src.pro \
${WRKSRC}/src/dialogwarden.h
${RM} ${WRKSRC}/scripts/rc.d/wardenrc.bak
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} -unix CONFIG+="configure" ${QMAKE_PRO}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
RUN_DEPENDS+= xz:${PORTSDIR}/archivers/xz
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>