2001-05-01 19:29:30 +02:00
|
|
|
# New ports collection makefile for: gsk
|
2006-01-12 17:47:34 +01:00
|
|
|
# Date created: May 1, 2001
|
|
|
|
# Whom: ijliao
|
2001-05-01 19:29:30 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gsk
|
2008-05-17 01:25:30 +02:00
|
|
|
PORTVERSION= 1.0.57
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 1
|
2001-05-01 19:29:30 +02:00
|
|
|
CATEGORIES= net devel
|
2008-05-17 01:25:30 +02:00
|
|
|
MASTER_SITES= SF
|
2001-05-01 19:29:30 +02:00
|
|
|
|
2006-11-08 10:28:33 +01:00
|
|
|
MAINTAINER= farrokhi@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A C library for writing servers
|
2001-05-01 19:29:30 +02:00
|
|
|
|
2004-08-13 17:46:34 +02:00
|
|
|
USE_GNOME= glib20 gnomehack gnometarget
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-09-08 23:56:18 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-05-01 19:29:30 +02:00
|
|
|
|
2006-01-12 17:47:34 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-gtk-doc
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2004-08-13 17:46:34 +02:00
|
|
|
.if defined(WITHOUT_OPENSSL)
|
|
|
|
CONFIGURE_ARGS+= --disable-ssl
|
|
|
|
PLIST_SUB+= OPENSSL="@comment "
|
|
|
|
.else
|
2002-08-31 18:30:20 +02:00
|
|
|
USE_OPENSSL= yes
|
2004-08-13 17:46:34 +02:00
|
|
|
PLIST_SUB+= OPENSSL=""
|
2002-08-31 18:30:20 +02:00
|
|
|
.endif
|
|
|
|
|
2005-05-16 09:35:23 +02:00
|
|
|
post-patch:
|
2006-01-12 17:47:34 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|^\(HTML_DIR\).*|\1 = ${PREFIX}/share/doc|' \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|programs tests||' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -e 's|^\(SUBDIRS = \).*|\1 src|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
2005-04-30 03:39:47 +02:00
|
|
|
|
2005-05-16 09:35:23 +02:00
|
|
|
.include <bsd.port.mk>
|