blob: ad68d08ccea04076608184942ad61351f004402e (
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
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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= libtool pathfix pkgconfig ssl
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
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.mk>
|