aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-12-06 17:00:47 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-12-06 17:00:47 +0800
commit6b1882104f0c4e64df942a9211ad11c207661074 (patch)
tree1a76ef84b9c569827e79b0d1c54ca34d1f281144 /net
parente1be7c9edec791990828bfe455716aca8a0ef5e0 (diff)
downloadfreebsd-ports-gnome-6b1882104f0c4e64df942a9211ad11c207661074.tar.gz
freebsd-ports-gnome-6b1882104f0c4e64df942a9211ad11c207661074.tar.zst
freebsd-ports-gnome-6b1882104f0c4e64df942a9211ad11c207661074.zip
- Add LICENSE
- Switch to options helpers - Regenerate patches
Diffstat (limited to 'net')
-rw-r--r--net/gsk/Makefile6
-rw-r--r--net/gsk/files/patch-src_gskipv4.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/net/gsk/Makefile b/net/gsk/Makefile
index 5501a7d7eb45..11de04564b7a 100644
--- a/net/gsk/Makefile
+++ b/net/gsk/Makefile
@@ -10,12 +10,16 @@ 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}
@@ -29,7 +33,7 @@ post-patch:
@${REINPLACE_CMD} -e \
's|fread_unlocked|fread|' ${WRKSRC}/src/gsktable-flat.c
-post-install:
+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
diff --git a/net/gsk/files/patch-src_gskipv4.c b/net/gsk/files/patch-src_gskipv4.c
index c11f209b7a27..ab49b90590ec 100644
--- a/net/gsk/files/patch-src_gskipv4.c
+++ b/net/gsk/files/patch-src_gskipv4.c
@@ -1,5 +1,5 @@
---- src/gskipv4.c.orig 2006-05-18 03:39:35.000000000 +0900
-+++ src/gskipv4.c 2009-04-08 00:18:45.000000000 +0900
+--- src/gskipv4.c.orig 2006-05-17 18:39:35 UTC
++++ src/gskipv4.c
@@ -1,7 +1,9 @@
#include <string.h>
#include <stdlib.h>