1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/sysutils/ksysguardd/Makefile

36 lines
929 B
Makefile

# $FreeBSD$
PORTNAME= ksysguardd
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= sysutils kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src/
DISTNAME= kde-workspace-${PORTVERSION}
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE System Guard Daemon
DISTINFO_FILE= ${PORTSDIR}/x11/kde4-workspace/distinfo
USE_XZ= yes
USE_KDE4= kdeprefix kdehier
USES= cmake
CMAKE_ARGS+= -DBIN_INSTALL_DIR:STRING="${PREFIX}/bin" \
-DSYSCONF_INSTALL_DIR:STRING="${PREFIX}/etc"
EXTRACT_AFTER_ARGS= '${DISTNAME}/ksysguard/${PORTNAME}' \
'${DISTNAME}/ksysguard/example/${PORTNAME}rc' \
'${DISTNAME}/ksysguard/gui/SignalIDs.h'
WRKSRC= ${WRKDIR}/${DISTNAME}/ksysguard/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
etc/${PORTNAME}rc
NO_STAGE= yes
pre-build:
${REINPLACE_CMD} -e 's/<config-workspace.h>/"config-${PORTNAME}.h"/' \
${WRKSRC}/${PORTNAME}.c
.include <bsd.port.mk>