freebsd-ports/sysutils/fusefs-unionfs/Makefile

35 lines
913 B
Makefile
Raw Normal View History

# New ports collection makefile for: fusefs-unionfs
# Date created: 2006-07-16
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= unionfs
2011-03-03 10:03:35 +01:00
PORTVERSION= 0.24
CATEGORIES= sysutils
MASTER_SITES= http://podgorny.cz/unionfs-fuse/releases/
PKGNAMEPREFIX= fusefs-
DISTNAME= unionfs-fuse-${PORTVERSION}
MAINTAINER= clsung@FreeBSD.org
COMMENT= FUSE based implementation of the well-known unionfs
RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
BUILD_DEPENDS= ${LOCALBASE}/include/fuse.h:${PORTSDIR}/sysutils/fusefs-libs
PLIST_FILES= bin/unionfs
USE_BZIP2= yes
do-build:
2011-03-03 10:03:35 +01:00
(cd ${WRKSRC}/src && \
${CC} ${CFLAGS} -I${LOCALBASE}/include/fuse \
-D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -U_POSIX_SYNCHRONIZED_IO \
2007-10-16 08:44:51 +02:00
-o unionfs *.c -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lfuse -lm)
do-install:
2011-03-03 10:03:35 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/src/unionfs ${PREFIX}/bin
.include <bsd.port.mk>