2001-05-01 17:29:30 +00:00
|
|
|
# New ports collection makefile for: gsk
|
2006-01-12 16:47:34 +00:00
|
|
|
# Date created: May 1, 2001
|
|
|
|
# Whom: ijliao
|
2001-05-01 17:29:30 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gsk
|
2007-06-08 16:47:52 +00:00
|
|
|
PORTVERSION= 1.0.53
|
2001-05-01 17:29:30 +00:00
|
|
|
CATEGORIES= net devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2006-11-08 09:28:33 +00:00
|
|
|
MAINTAINER= farrokhi@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= A C library for writing servers
|
2001-05-01 17:29:30 +00:00
|
|
|
|
2004-08-13 15:46:34 +00:00
|
|
|
USE_GNOME= glib20 gnomehack gnometarget
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2006-09-08 21:56:18 +00:00
|
|
|
USE_LDCONFIG= yes
|
2006-07-13 19:56:16 +00:00
|
|
|
USE_GCC= 3.4+
|
2001-05-01 17:29:30 +00:00
|
|
|
|
2006-01-12 16:47:34 +00:00
|
|
|
CONFIGURE_ARGS+= --disable-gtk-doc
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2004-08-13 15:46:34 +00:00
|
|
|
.if defined(WITHOUT_OPENSSL)
|
|
|
|
CONFIGURE_ARGS+= --disable-ssl
|
|
|
|
PLIST_SUB+= OPENSSL="@comment "
|
|
|
|
.else
|
2002-08-31 16:30:20 +00:00
|
|
|
USE_OPENSSL= yes
|
2004-08-13 15:46:34 +00:00
|
|
|
PLIST_SUB+= OPENSSL=""
|
2002-08-31 16:30:20 +00:00
|
|
|
.endif
|
|
|
|
|
2005-05-16 07:35:23 +00:00
|
|
|
post-patch:
|
2006-01-12 16:47:34 +00: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 01:39:47 +00:00
|
|
|
|
2005-05-16 07:35:23 +00:00
|
|
|
.include <bsd.port.mk>
|