aboutsummaryrefslogtreecommitdiffstats
path: root/devel/judy/Makefile
blob: 8c911ca0bcd309f75c602a8a9776104133d6f002 (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
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=   Judy
PORTVERSION=    1.0.5
PORTREVISION=   2
CATEGORIES= devel
MASTER_SITES=   SF/${PORTNAME:tl}/${PORTNAME:tl}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    General purpose dynamic array

LICENSE=    LGPL21

USES=       gmake libtool
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
MAKE_JOBS_UNSAFE=   yes
INSTALL_TARGET= install-strip

WRKSRC= ${WRKDIR}/${PORTNAME:tl}-${PORTVERSION}

PORTDOCS=   COPYRIGHT README *.htm

.include <bsd.port.pre.mk>

.if ${ARCH} == "i386"
CONFIGURE_ARGS+=    --enable-32-bit
.elif ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "sparc64"
CONFIGURE_ARGS+=    --enable-64-bit
.endif

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S!^!${WRKSRC}/doc/ext/!} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.post.mk>