aboutsummaryrefslogtreecommitdiff
path: root/devel/libmaa/Makefile
blob: 07da469dc612750ac8f980c9b70d17f8fe38ae4d (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
# Ports collection makefile for:  libmaa
# Date created:			  2008/01/26
# Whom:				  chinsan
#
# $FreeBSD$
#

PORTNAME=	libmaa
PORTVERSION=	1.1.1
PORTEPOCH=	1
CATEGORIES=	devel
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	dict

MAINTAINER=	chinsan@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>