aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libmaa/Makefile
blob: ae177bd4f299a11473116a6c4239d4975d81c490 (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
38
39
40
41
42
43
44
45
# Ports collection makefile for:  libmaa
# Date created:           2008/01/26
# Whom:               chinsan
#
# $FreeBSD$
#

PORTNAME=   libmaa
PORTVERSION=    1.3.2
CATEGORIES= devel
MASTER_SITES=   SF/dict/${PORTNAME}/${PORTNAME}-${PORTVERSION}

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

# The software was licensed as GPLv2. LGPL20 is for the library.
LICENSE=    LGPL20

OPTIONS_DEFINE= DOCS

ALL_TARGET= lib
CPPFLAGS+=  -I${LOCALBASE}/include
GNU_CONFIGURE=  yes
LDFLAGS+=   -L${LOCALBASE}/lib
USE_AUTOTOOLS=  libtool
USE_GMAKE=  yes
USE_LDCONFIG=   yes

DOCS=       README doc/libmaa.600dpi.ps
PLIST_FILES=    include/maa.h \
        lib/libmaa.a \
        lib/libmaa.la \
        lib/libmaa.so \
        lib/libmaa.so.3
PORTDOCS=   ${DOCS:T}

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}/
    cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/
.endif

.include <bsd.port.mk>