summaryrefslogtreecommitdiff
path: root/net/libfreenet/Makefile
blob: 4128446f84fc8cd26e33d604b2cc94ee1fe78912 (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
# ex:ts=8
# New ports collection makefile for:	libfreenet
# Date created:			Mar 31, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	libfreenet
PORTVERSION=	0.5.0
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	http://thalassocracy.org/libfreenet/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Freenet library written in C

USE_REINPLACE=	yes
USE_OPENSSL=	yes
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15
CONFIGURE_ARGS=	--includedir=${PREFIX}/include/libfreenet
INSTALLS_SHLIB=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
		${WRKSRC}/configure
	@${REINPLACE_CMD} -e 's|-g -Wall|\@CFLAGS\@|g' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>