2005-11-17 12:14:31 +00:00
|
|
|
# New ports collection makefile for: smb4k
|
|
|
|
# Date created: 28 Oct 2005
|
|
|
|
# Whom: Rashid N. Achilov <shelton@granch.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= smb4k
|
2005-12-26 15:39:20 +00:00
|
|
|
PORTVERSION= 0.6.4
|
2005-11-17 12:14:31 +00:00
|
|
|
CATEGORIES= net kde
|
|
|
|
MASTER_SITES= http://download.berlios.de/smb4k/
|
|
|
|
|
|
|
|
MAINTAINER= shelton@granch.ru
|
|
|
|
COMMENT= KDE 3.x SMB Network browser and SMB shares mounting center
|
|
|
|
|
|
|
|
RUN_DEPENDS= sudo:${PORTSDIR}/security/sudo \
|
2005-11-17 14:25:02 +00:00
|
|
|
smbstatus:${PORTSDIR}/net/samba3
|
2005-11-17 12:14:31 +00:00
|
|
|
|
2005-12-26 15:39:20 +00:00
|
|
|
USE_KDEBASE_VER= 3
|
2005-11-17 12:14:31 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS += --with-qt-dir=${QT_PREFIX} \
|
|
|
|
--with-extra-includes=${LOCALBASE}/include \
|
|
|
|
--with-extra-libs=${LOCALBASE}/lib
|
|
|
|
DOCSDIR= share/doc/HTML/en/${PORTNAME}
|
|
|
|
PLIST_SUB= DOCSDIR=${DOCSDIR}
|
|
|
|
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2005-12-26 15:39:20 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
BROKEN= "does not build on 4.x (missing sys/statvfs.h)"
|
|
|
|
.endif
|
|
|
|
|
2005-11-17 12:14:31 +00:00
|
|
|
post-install:
|
|
|
|
.for i in smb2awk smb2nsmbrc
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/${i} ${PREFIX}/bin
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${PREFIX}/${DOCSDIR}
|
|
|
|
@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|