mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
b124ab1a48
- Strip library - Optionize docs installation
38 lines
918 B
Makefile
38 lines
918 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
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 libtool
|
|
USE_GNOME= glib20
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-gtk-doc
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
|
|
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:
|
|
@${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>
|