aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libmaa/Makefile
blob: de8c5f8bf8d8ff3478954f9f5753a07d3c1cef61 (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
34
35
36
37
# Ports collection makefile for:  libmaa
# Date created:           2008/01/26
# Whom:               chinsan
#
# $FreeBSD$
#

PORTNAME=   libmaa
PORTVERSION=    1.2.0
PORTEPOCH=  1
CATEGORIES= devel
MASTER_SITES=   SF/dict/${PORTNAME}/${PORTNAME}-${PORTVERSION}

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

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --without-local-zlib --with-cflags="${CFLAGS}" \
        --with-etcdir=${PREFIX}/etc
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:22
USE_LDCONFIG=   yes

ALL_TARGET= lib

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in COPYING.LIB README
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
    ${INSTALL_DATA} ${WRKSRC}/doc/libmaa.600dpi.ps ${DOCSDIR}
.endif

.include <bsd.port.mk>