freebsd-ports/sysutils/fusefs-gunzip/Makefile
Edwin Groothuis c7906ef2a5 [NEW PORT] sysutils/fusefs-gunzip
PR:		ports/124625
Submitted by:	Evgeny Zhirnov <jirnov@gmail.com>
2008-07-05 11:39:42 +00:00

41 lines
1 KiB
Makefile

# New ports collection makefile for: fusefs-gunzip
# Date created: 2008-06-16
# Whom: Evgeny Zhirnov <jirnov@gmail.com>
#
# $FreeBSD$
#
PORTNAME= fuse.gunzip
PORTVERSION= 20070320
CATEGORIES= sysutils
MASTER_SITES= http://fuse.gunzip.silverice.org/files/
MAINTAINER= jirnov@gmail.com
COMMENT= Fuse.gunzip provides transparent decompression of gzip compressed files
BUILD_DEPENDS= ${LOCALBASE}/include/fuse.h:${PORTSDIR}/sysutils/fusefs-libs
RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
WRKSRC= ${WRKDIR}/fuse.gunzip
PLIST_FILES= bin/fuse.gunzip
NO_INSTALL_MANPAGES= yes
do-build:
(cd ${WRKSRC} && \
${CC} ${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/fuse \
-D_FILE_OFFSET_BITS=64 \
-o fuse.gunzip fuse.gunzip.c -L${LOCALBASE}/lib ${PTHREAD_LIBS} \
-lulockmgr -lz -lfuse -liconv -lm)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fuse.gunzip ${PREFIX}/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>