blob: 959b7f50414efe3bcba0ef9d1d3eb0b1caf1a271 (
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
31
32
33
|
# Created by: Sylvio Cesar <sylvio@FreeBSD.org>
PORTNAME= libHX
PORTVERSION= 4.3
CATEGORIES= lang
MASTER_SITES= https://inai.de/files/libhx/
MAINTAINER= danfe@FreeBSD.org
COMMENT= C/C++ library with common data structures and functions
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-patch:
@${REINPLACE_CMD} -e 's,NULL,0x0,' ${WRKSRC}/src/tc-cast.c \
${WRKSRC}/src/tc-string.c
@${REINPLACE_CMD} -e '1 { x; s:^:#include <cstdio>:; G; }' \
${WRKSRC}/src/tx-intdiff.cpp
.include <bsd.port.mk>
|