aboutsummaryrefslogtreecommitdiffstats
path: root/devel/wand-libconfig/Makefile
blob: ef79e6e174055e1499ad7f33fb57052768942190 (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
# New ports collection makefile for:    wand-libconfig
# Date created:             Tue Oct  9 00:56:22 PDT 2007
# Whom:                 Matt Peterson <matt@peterson.org>
#
# $FreeBSD$
#

PORTNAME=   libconfig
PORTVERSION=    1.0.5
CATEGORIES= devel
MASTER_SITES=   http://research.wand.net.nz/software/libconfig/ \
        http://matt.peterson.org/FreeBSD/ports/
PKGNAMEPREFIX=  wand-

MAINTAINER= matt@peterson.org
COMMENT=    C library for parsing config files

USE_AUTOTOOLS=  libtool:15
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
USE_GMAKE=  yes

CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib"

PLIST_FILES=    include/libconfig.h lib/libconfig.a lib/libconfig.la \
        lib/libconfig.so lib/libconfig.so.1

post-patch:
    @${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
    ${WRKSRC}/configure

.include <bsd.port.mk>