freebsd-ports/sysutils/afflib/Makefile
Greg Larkin 51d10fbb00 - Updated to 3.6.10
Changes: http://people.freebsd.org/~glarkin/diffs/afflib-3.6.10-ChangeLog.diff

PR:		ports/156565
Submitted by:	C-S <c-s@c-s.li> (maintainer)
2011-04-22 19:38:57 +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.6.10
CATEGORIES= sysutils
MASTER_SITES= http://afflib.org/downloads/ \
http://www.c-s.li/ports/
MAINTAINER= c-s@c-s.li
COMMENT= The Advanced Forensics Format library and utilities
LIB_DEPENDS= fuse:${PORTSDIR}/sysutils/fusefs-libs \
expat:${PORTSDIR}/textproc/expat2 \
curl:${PORTSDIR}/ftp/curl
LICENSE= BSD
USE_LDCONFIG= yes
USE_OPENSSL= yes
USE_ICONV = yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack
USE_AUTOTOOLS= autoconf
CONFIGURE_ARGS= --enable-s3=yes --libdir=${PREFIX}
CONFIGURE_ENV= 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>