openbsd-ports/devel/libeventextra/Makefile

36 lines
804 B
Makefile

# $OpenBSD: Makefile,v 1.2 2010/04/21 23:10:26 alek Exp $
COMMENT = libevent extra features
VERSION = 1.4.13
DISTNAME = libevent-${VERSION}-stable
PKGNAME = libeventextra-${VERSION}
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>