aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libmaa/Makefile
blob: abf64717f7a01bfb376eb1d414e5f79a5d7f655d (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: chinsan
# $FreeBSD$

PORTNAME=   libmaa
PORTVERSION=    1.4.4
PORTEPOCH=  1
CATEGORIES= devel

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Provides a few data structures and helpful functions

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/doc/LICENSE

BUILD_DEPENDS=  mk-configure>=0.29.1:devel/mk-configure

OPTIONS_DEFINE= DOCS

MAKE_ARGS=  DOCDIR=${DOCSDIR}
MAKE_CMD=   mkcmake
USE_LDCONFIG=   yes

GH_ACCOUNT= cheusov
USE_GITHUB= yes

post-patch:
    @${REINPLACE_CMD} -e '/^FILES *=/ s|LICENSE||' ${WRKSRC}/doc/Makefile
    @${REINPLACE_CMD} -e '/^#SHLIB_TEENY *=/ s|#||' ${WRKSRC}/maa/Makefile

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmaa.so

.include <bsd.port.mk>