freebsd-ports/sysutils/afflib/Makefile
Florian Smeets d26530b713 - introduce a USE_FUSE macro
- convert all fuse ports to use the new macro

The macro makes sure sysutils/fusefs-libs gets installed and depending on
fuse being in base or not it installs sysutils/fusefs-kmod.

Approved by:	portmgr (bapt)
2012-12-14 15:47:00 +00:00

48 lines
1.1 KiB
Makefile

# Ports collection makefile for: afflib
#
# Date created: 15/02/2008
# Whom: Chris Calvey <chris@securityforensics.co.uk>
#
# $FreeBSD$
#
PORTNAME= afflib
PORTVERSION= 3.7.1
CATEGORIES= sysutils
MASTER_SITES= http://cloud.github.com/downloads/simsong/AFFLIBv3/ \
http://www.c-s.li/ports/
MAINTAINER= cs@FreeBSD.org
COMMENT= The Advanced Forensics Format library and utilities
LICENSE= BSD
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \
curl:${PORTSDIR}/ftp/curl
USE_LDCONFIG= yes
USE_OPENSSL= yes
USE_ICONV= yes
USE_FUSE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack
USE_AUTOTOOLS= autoconf
CONFIGURE_ARGS= --enable-s3=yes --libdir=${PREFIX}
CPPFLAGS+= -DFUSE_USE_VERSION=26
LDFLAGS+= ${PTHREAD_LIBS}
CFLAGS+= ${PTHREAD_LIBS}
MAKE_JOBS_SAFE= yes
MAN1= affcat.1
AUTOTOOLSFILES= aclocal.m4
post-patch:
@${REINPLACE_CMD} -e 's|2.61|%%AUTOCONF_VERSION%%|g' ${WRKSRC}/aclocal.m4
@${REINPLACE_CMD} -e 's|(libdir)|(libdir)/lib|' \
${WRKSRC}/lib/Makefile.in
@${REINPLACE_CMD} -e 's|(libdir)|(libdir)/libdata|' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>