aboutsummaryrefslogtreecommitdiffstats
path: root/lang/libhx/Makefile
blob: 299da1684521b16c17c77c9625cd3bc18cd99cca (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
# New ports collection makefile for:    libhx
# Date created:     2009-06-20
# Whom:         Sylvio Cesar <scjamorim@bsd.com.br>
#
# $FreeBSD$
#

PORTNAME=   libHX
PORTVERSION=    2.8
CATEGORIES= lang
MASTER_SITES=   SF
MASTER_SITE_SUBDIR= libhx

MAINTAINER= scjamorim@bsd.com.br
COMMENT=    Library C with some additional C++ bindings available

USE_LDCONFIG=   yes
USE_BZIP2=  yes
GNU_CONFIGURE=  yes

PORTDOCS=   libHX_Documentation.pdf

post-build:
    @${REINPLACE_CMD} -e 's|doc src|src|g' ${WRKSRC}/Makefile

post-install:
    (mv ${PREFIX}/lib/pkgconfig/libHX.pc ${PREFIX}/libdata/pkgconfig/libHX.pc)
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/
.endif

.include <bsd.port.mk>