aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/fusefs-sshfs/Makefile
blob: d0755bd6d7c99d56a9b7c1627537032c40b910e5 (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
# New ports collection makefile for:    fusefs-sshfs
# Date created:             01 October 2005
# Whom:                 Anish Mistry
# $FreeBSD$
#

PORTNAME=   sshfs
PORTVERSION=    1.3
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fuse
PKGNAMEPREFIX=  fusefs-
DISTNAME=   ${PORTNAME}-fuse-${PORTVERSION}

MAINTAINER= amistry@am-productions.biz
COMMENT=    Mount remote directories over ssh

LIB_DEPENDS=    fuse.2:${PORTSDIR}/sysutils/fusefs-libs \
        glib-2.0.600:${PORTSDIR}/devel/glib20
RUN_DEPENDS=    ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod

GNU_CONFIGURE=  yes
CONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
USE_REINPLACE=  yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600000
IGNORE=     depends on kernel module that requires FreeBSD 6 or later
.endif

post-install:
    @${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${PKGMESSAGE}

.include <bsd.port.post.mk>