freebsd-ports/textproc/libcss/Makefile
Evgeniy Khramtsov 3f723dfb71 textproc/libcss: respect CC
PR:	257611
2021-08-08 05:06:27 -07:00

30 lines
745 B
Makefile

# Created by: Olivier Duchateau
PORTNAME= libcss
PORTVERSION= 0.9.1
CATEGORIES= textproc
MASTER_SITES= https://download.netsurf-browser.org/libs/releases/
EXTRACT_SUFX= -src.tar.gz
MAINTAINER= nc@FreeBSD.org
COMMENT= Cascading Style Sheets library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= netsurf-buildsystem>=1.5:devel/netsurf-buildsystem
LIB_DEPENDS= libwapcaplet.so:textproc/libwapcaplet \
libparserutils.so:devel/libparserutils
USES= gmake iconv:wchar_t localbase pkgconfig
USE_LDCONFIG= yes
MAKE_ENV= BUILD_CC="${CC}" COMPONENT_TYPE="lib-shared"
CFLAGS+= -Wno-error
LDFLAGS+= ${ICONV_LIB}
PLIST_SUB= VERSION=${PORTVERSION}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcss.so
.include <bsd.port.mk>