aboutsummaryrefslogtreecommitdiffstats
path: root/net/librsync1/Makefile
blob: 411fccfccdc230b9e7c0b6c5ad7dbf58d68afe2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$

PORTNAME=   librsync
PORTVERSION=    1.0.0
DISTVERSIONPREFIX=v
CATEGORIES= net devel
PKGNAMESUFFIX=  1

MAINTAINER= bdrewery@FreeBSD.org
COMMENT=    Library for delta compression of streams

LIB_DEPENDS=    libpopt.so:devel/popt

CONFLICTS=  librsync-*

USE_GITHUB= yes

USES=       gmake libtool autoreconf
USE_CSTD=   gnu89
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-shared --disable-trace
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librsync.so.2.0.0

.include <bsd.port.mk>