openbsd-ports/devel/libeventextra/Makefile

37 lines
818 B
Makefile

# $OpenBSD: Makefile,v 1.5 2011/11/18 11:16:23 espie Exp $
COMMENT = libevent extra features
VERSION = 1.4.13
DISTNAME = libevent-${VERSION}-stable
PKGNAME = libeventextra-${VERSION}
REVISION = 0
SHARED_LIBS = eventextra 1.0
CATEGORIES = devel
HOMEPAGE = http://www.monkey.org/~provos/
MAINTAINER = Nicholas Marriott <nicm@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}
MAKE_ENV += CC="${CC}"
pre-build:
@printf "major=${LIBeventextra_VERSION:R}\nminor=${LIBeventextra_VERSION:E}\n" >${WRKBUILD}/shlib_version
@cp ${FILESDIR}/Makefile ${WRKBUILD}
@rm -f ${WRKBUILD}/{event.h,evutil.h}
post-install:
${INSTALL_DATA} ${WRKSRC}/{evhttp.h,evdns.h,evrpc.h} ${PREFIX}/include
.include <bsd.port.mk>