aboutsummaryrefslogtreecommitdiff
path: root/lang/libhx/Makefile
blob: 10cd6242c7e446ded7292f44b19ee17eb2864037 (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
PORTNAME=	libHX
PORTVERSION=	4.16
CATEGORIES=	lang
MASTER_SITES=	https://inai.de/files/libhx/ \
		https://codeberg.org/jengelh/libhx/releases/download/v${PORTVERSION}/

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	C/C++ library with common data structures and functions
WWW=		https://inai.de/projects/libhx/

LICENSE=	LGPL21+

USES=		cpe libtool localbase tar:xz
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
INSTALL_TARGET=	install-strip
TEST_TARGET=	check

CPE_VENDOR=	jan_engelhardt

OPTIONS_DEFINE=	DOCS

PORTDOCS=	*
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME:tl}

post-install-DOCS-on:
	${CP} -a ${INSTALL_WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>