1 |
laffer1 |
2070 |
# New ports collection makefile for: fusefs-unionfs |
2 |
|
|
# Date created: 2006-07-16 |
3 |
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org> |
4 |
|
|
# |
5 |
|
|
# $MidnightBSD$ |
6 |
|
|
# $FreeBSD: ports/sysutils/fusefs-unionfs/Makefile,v 1.5 2007/03/06 04:01:19 clsung Exp $ |
7 |
|
|
# |
8 |
|
|
|
9 |
|
|
PORTNAME= unionfs |
10 |
|
|
PORTVERSION= 0.17 |
11 |
|
|
CATEGORIES= sysutils |
12 |
|
|
MASTER_SITES= http://podgorny.cz/unionfs-fuse/releases/ |
13 |
|
|
PKGNAMEPREFIX= fusefs- |
14 |
|
|
DISTNAME= unionfs-fuse-${PORTVERSION} |
15 |
|
|
|
16 |
|
|
MAINTAINER= ports@MidnightBSD.org |
17 |
|
|
COMMENT= FUSE based implementation of the well-known unionfs |
18 |
|
|
|
19 |
|
|
RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod |
20 |
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/fuse.h:${PORTSDIR}/sysutils/fusefs-libs |
21 |
|
|
|
22 |
|
|
PLIST_FILES= bin/unionfs |
23 |
|
|
|
24 |
|
|
USE_BZIP2= yes |
25 |
|
|
|
26 |
|
|
do-build: |
27 |
|
|
(cd ${WRKSRC} && \ |
28 |
|
|
${CC} ${CFLAGS} -I${LOCALBASE}/include/fuse \ |
29 |
|
|
-D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -U_POSIX_SYNCHRONIZED_IO \ |
30 |
|
|
-o unionfs *.c -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lfuse -liconv) |
31 |
|
|
|
32 |
|
|
do-install: |
33 |
|
|
${INSTALL_PROGRAM} ${WRKSRC}/unionfs ${TARGETDIR}/bin |
34 |
|
|
|
35 |
|
|
.include <bsd.port.mk> |