mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
a9425224f1
PR: 216777 Approved by: mm (maintainer)
28 lines
626 B
Makefile
28 lines
626 B
Makefile
# Created by: Phil Oleson <oz@nixil.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libdnsres
|
|
PORTVERSION= 0.1a
|
|
PORTREVISION= 9
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://monkey.org/~provos/
|
|
|
|
MAINTAINER= oz@nixil.net
|
|
COMMENT= Provides a non-blocking thread-safe API for resolving DNS names
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libevent.a:devel/libevent
|
|
|
|
USES= libtool
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ARGS=--with-libevent=${LOCALBASE}
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,CFLAGS =,CFLAGS +=, ; s|top_buildir|top_builddir|g' \
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|