86240173fd
strigi's Makefile.common checks for NO_BUILD, so it has to be defined prior to its inclusion; split the bsd.port.mk into bsd.port.{pre,post}.mk for that.
33 lines
775 B
Makefile
33 lines
775 B
Makefile
# Created by: Tilman Keskinoz <arved@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= strigi
|
|
PORTVERSION= ${STRIGI_VERSION}
|
|
PORTREVISION= 2
|
|
CATEGORIES= deskutils
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Strigi desktop search (meta port)
|
|
|
|
USE_KDE4= strigi_run
|
|
USES= metaport
|
|
|
|
OPTIONS_DEFINE= CLIENT DAEMON UTILITIES
|
|
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include <${.CURDIR}/Makefile.common>
|
|
|
|
.if ${PORT_OPTIONS:MCLIENT}
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/strigiclient:${PORTSDIR}/deskutils/strigiclient
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MDAEMON}
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/strigidaemon:${PORTSDIR}/deskutils/strigidaemon
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MUTILITIES}
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/xmlindexer:${PORTSDIR}/deskutils/strigiutils
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|