freebsd-ports/sysutils/fusefs-unionfs/Makefile
Cheng-Lung Sung eba96f64d9 - Respect DESTDIR
PR:		ports/101836
Submitted by:	maintainer (Gea-Suan Lin)
2006-08-14 03:37:04 +00:00

40 lines
1,011 B
Makefile

# New ports collection makefile for: fusefs-unionfs
# Date created: 2006-07-16
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= unionfs
PORTVERSION= 0.15
CATEGORIES= sysutils
MASTER_SITES= http://podgorny.cz/unionfs-fuse/releases/
PKGNAMEPREFIX= fusefs-
DISTNAME= unionfs-fuse-${PORTVERSION}
MAINTAINER= gslin@gslin.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:
(cd ${WRKSRC} && \
${CC} ${CFLAGS} -I${LOCALBASE}/include/fuse \
-D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 \
-o unionfs *.c -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lfuse)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unionfs ${TARGETDIR}/bin
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000 # Inherited from fusefs-kmod
IGNORE= requires FreeBSD 6.x or above
.endif
.include <bsd.port.post.mk>