freebsd-ports/devel/wand-libconfig/Makefile

31 lines
683 B
Makefile

# Created by: 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
CONFLICTS= libconfig-[0-9]*
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GMAKE= yes
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= include/libconfig.h lib/libconfig.a lib/libconfig.la \
lib/libconfig.so lib/libconfig.so.1
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
${WRKSRC}/configure
.include <bsd.port.mk>