summaryrefslogtreecommitdiffstats
path: root/net/gsk/Makefile
blob: 63a429ea73515f6afc5455262b0ee6deb0a3aa21 (plain)
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
32
33
34
35
36
37
38
# ex:ts=8
# New ports collection makefile for:	gsk
# Date created:			May 1, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	gsk
PORTVERSION=	1.0.13
PORTREVISION=	1
CATEGORIES=	net devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A C library for writing servers

USE_GNOME=	glib20 gnomehack gnometarget
USE_REINPLACE=	yes
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15
CONFIGURE_ARGS=	--disable-gtk-doc
INSTALLS_SHLIB=	yes

.if defined(WITHOUT_OPENSSL)
CONFIGURE_ARGS+=	--disable-ssl
PLIST_SUB+=	OPENSSL="@comment "
.else
USE_OPENSSL=	yes
PLIST_SUB+=	OPENSSL=""
.endif

post-patch:
	@${REINPLACE_CMD} -e \
		'/^SUBDIRS =/s|programs tests||g' ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>
OpenPOWER on IntegriCloud