openbsd-ports/net/librsync/Makefile
jsg 9c6be507bc Use popt from ports instead of old included version, and
require bzip2 for additional rdiff functionality.

Slightly changed version of a diff from Wim Lewis <wiml@hhhh.org>
2009-02-03 13:15:01 +00:00

31 lines
730 B
Makefile

# $OpenBSD: Makefile,v 1.3 2009/02/03 13:15:01 jsg Exp $
COMMENT= Library for delta compression of streams
DISTNAME= librsync-0.9.7
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= rsync 1.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=librsync/}
HOMEPAGE= http://librsync.sourceforge.net/
MAINTAINER= Jonathan Gray <jsg@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= bz2::archivers/bzip2 \
popt::devel/popt
WANTLIB= c z
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} --disable-trace
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>