aboutsummaryrefslogtreecommitdiffstats
path: root/net/smb4k/Makefile
blob: 19d13df4e0492cfe859e395b1034b863ba9be360 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    smb4k
# Date created:             28 Oct 2005
# Whom:                 Rashid N. Achilov <shelton@granch.ru>
#
# $FreeBSD$
#

PORTNAME=       smb4k
PORTVERSION=        0.8.7
PORTREVISION=   2
CATEGORIES=     net kde
MASTER_SITES=       ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= smb4k

MAINTAINER=     achilov-rn@askd.ru
COMMENT=        KDE 3.x SMB Network browser and SMB shares mounting center

RUN_DEPENDS=        sudo:${PORTSDIR}/security/sudo \
            smbstatus:${PORTSDIR}/net/samba3

USE_KDEBASE_VER=    3
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
USE_GETTEXT=    yes
USE_BZIP2=  yes
USE_LDCONFIG=   yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS +=   --with-qt-dir=${QT_PREFIX} \
            --with-extra-includes=${LOCALBASE}/include \
            --with-extra-libs=${LOCALBASE}/lib
DOCSDIR=        ${PREFIX}/share/doc/HTML/en/${PORTNAME}
PKGMESSAGE=     ${WRKDIR}/pkg-message

post-install:
.for i in smb2awk smb2nsmbrc
    ${INSTALL_SCRIPT} ${FILESDIR}/${i} ${PREFIX}/bin
.endfor
    ${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${DOCSDIR}

    @${SED} -e "s,%%PREFIX%%,${PREFIX},g" pkg-message > ${PKGMESSAGE}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>