1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/net/gsk/Makefile
2019-11-08 13:48:34 +00:00

51 lines
1.2 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= gsk
PORTVERSION= 1.0.63
PORTREVISION= 2
CATEGORIES= net devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= C library for writing servers
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gnome libtool pathfix perl5 pkgconfig ssl
USE_PERL5= build
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gtk-doc
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} == base
BROKEN_FreeBSD_12= incomplete definition of type 'struct bio_st'
BROKEN_FreeBSD_13= incomplete definition of type 'struct bio_st'
.endif
post-patch:
@${REINPLACE_CMD} -e \
'/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
'/^SUBDIRS/s|programs tests||' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e \
's|fread_unlocked|fread|' ${WRKSRC}/src/gsktable-flat.c
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/doc/html/*.css ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/doc/html/*.png ${STAGEDIR}${DOCSDIR}/html
.include <bsd.port.post.mk>