aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-06-03 02:46:48 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-06-03 02:46:48 +0800
commit58a90ece000ce1c7bb23c2b255979caccbca9fd0 (patch)
treee2c3624e321b4bbb5d7b3a34b80436bfff4294ce /net
parente976465215ddf17b2dd49de597487315903e3b0b (diff)
downloadfreebsd-ports-gnome-58a90ece000ce1c7bb23c2b255979caccbca9fd0.tar.gz
freebsd-ports-gnome-58a90ece000ce1c7bb23c2b255979caccbca9fd0.tar.zst
freebsd-ports-gnome-58a90ece000ce1c7bb23c2b255979caccbca9fd0.zip
- Switch to USES=libtool, drop .la file
- Strip library - Optionize docs installation
Diffstat (limited to 'net')
-rw-r--r--net/gsk/Makefile19
-rw-r--r--net/gsk/pkg-plist2
2 files changed, 11 insertions, 10 deletions
diff --git a/net/gsk/Makefile b/net/gsk/Makefile
index 32247bc261f2..e4cb146a0c0b 100644
--- a/net/gsk/Makefile
+++ b/net/gsk/Makefile
@@ -3,20 +3,23 @@
PORTNAME= gsk
PORTVERSION= 1.0.63
+PORTREVISION= 1
CATEGORIES= net devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A C library for writing servers
-USES= pathfix pkgconfig
+USES= pathfix pkgconfig libtool
USE_GNOME= glib20
USE_OPENSSL= yes
-USE_AUTOTOOLS= libtool
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gtk-doc
+INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e \
'/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in
@@ -26,11 +29,9 @@ post-patch:
's|fread_unlocked|fread|' ${WRKSRC}/src/gsktable-flat.c
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}/html
- ${INSTALL_DATA} ${WRKSRC}/doc/html/*.css ${DOCSDIR}/html
- ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DOCSDIR}/html
- ${INSTALL_DATA} ${WRKSRC}/doc/html/*.png ${DOCSDIR}/html
-.endif
+ @${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>
diff --git a/net/gsk/pkg-plist b/net/gsk/pkg-plist
index ef767dac3c77..7d8def03411f 100644
--- a/net/gsk/pkg-plist
+++ b/net/gsk/pkg-plist
@@ -102,9 +102,9 @@ include/gsk-1.0/gsk/zlib/gskzlib.h
include/gsk-1.0/gsk/zlib/gskzlibdeflator.h
include/gsk-1.0/gsk/zlib/gskzlibinflator.h
lib/libgsk-1.0.a
-lib/libgsk-1.0.la
lib/libgsk-1.0.so
lib/libgsk-1.0.so.0
+lib/libgsk-1.0.so.0.0.0
libdata/pkgconfig/gsk-1.0.pc
%%PORTDOCS%%%%DOCSDIR%%/html/GskHttpClient.html
%%PORTDOCS%%%%DOCSDIR%%/html/GskHttpHeader.html