mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
585f07aff3
for a long time, not to mention upstream. Discussed a while ago among the KDE/FreeBSD team.
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# New ports collection makefile for: lanbrowsing
|
|
# Date created: September 02 2004
|
|
# Whom: Michael Nottebrock <lofi@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lanbrowsing
|
|
PORTVERSION= ${KDE_VERSION}
|
|
PORTREVISION= 8
|
|
CATEGORIES= net kde
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
|
|
PKGNAMEPREFIX= kdenetwork-
|
|
DISTNAME= kdenetwork-${PORTVERSION}
|
|
DIST_SUBDIR= KDE
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Lanbrowsing facility and backend for KDE
|
|
|
|
RUN_DEPENDS= nmblookup:${PORTSDIR}/${SAMBA_PORT}
|
|
|
|
SAMBA_PORT?= net/samba34
|
|
|
|
USE_KDELIBS_VER=3
|
|
|
|
USE_RC_SUBR= lisa
|
|
USE_BZIP2= yes
|
|
USE_XORG= xtst
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
USE_GMAKE= yes
|
|
WRKSRC= ${WRKDIR}/kdenetwork-${PORTVERSION}
|
|
|
|
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-configure:
|
|
${ECHO_CMD} ${PORTNAME} doc > ${WRKSRC}/inst-apps
|
|
${REINPLACE_CMD} \
|
|
's|^SUBDIRS =.*lisa.*$$|SUBDIRS =\. lisa|g' \
|
|
${WRKSRC}/doc/Makefile.in
|
|
${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' \
|
|
${WRKSRC}/lanbrowsing/kcmlisa/main.cpp \
|
|
${WRKSRC}/lanbrowsing/kcmlisa/kcmlisa.cpp \
|
|
${WRKSRC}/lanbrowsing/kcmlisa/setupwizard.cpp
|
|
${REINPLACE_CMD} -e 's|nmblookup \\|${LOCALBASE}/bin/nmblookup \\|g' \
|
|
${WRKSRC}/lanbrowsing/lisa/netscanner.cpp
|
|
|
|
.include <bsd.port.post.mk>
|