# New ports collection Makefile for: desktopbsd-tools # Date created: 8 April 2006 # Whom: Peter Hofer # # $FreeBSD$ PORTNAME= desktopbsd-tools PORTVERSION= 1.0.1 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.desktopbsd.net/ MAINTAINER= ph@desktopbsd.net COMMENT= DesktopBSD tools for easy system configuration BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake RUN_DEPENDS= xterm:${PORTSDIR}/x11/xterm \ bash:${PORTSDIR}/shells/bash \ csup:${PORTSDIR}/net/csup \ fastest_cvsup:${PORTSDIR}/sysutils/fastest_cvsup \ portupgrade:${PORTSDIR}/sysutils/portupgrade INSTALLS_SHLIB= yes USE_BZIP2= yes USE_KDEBASE_VER=3 QMAKE?= qmake QMAKESPEC?= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ MAKE_ENV= QTDIR="${QT_PREFIX}" # so.1.0 is renamed to so.1 in plist, disable this behavior NO_FILTER_SHLIBS=yes WRKSRC= ${WRKDIR}/${PORTNAME} DATADIR= ${PREFIX}/share/desktopbsd .include .if ${OSVERSION} < 500000 IGNORE= requires FreeBSD 5 or newer .endif post-patch: @${REINPLACE_CMD} -e \ "/Installation/d; /Documentation/d; /InitialConf/d" \ ${WRKSRC}/desktopbsd.pro @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/*/*.pro do-configure: @cd ${WRKSRC} \ && ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC} desktopbsd.pro \ && ${SETENV} ${MAKE_ENV} ./prepare_build.sh post-install: @${CAT} ${PKGMESSAGE} .include