2013-03-11 06:50:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2013/03/11 10:50:09 espie Exp $
|
2010-08-25 21:10:16 -04:00
|
|
|
|
|
|
|
COMMENT= simple C Library for entropy measurement
|
|
|
|
|
|
|
|
DISTNAME= libdisorder-0.0.2
|
2012-09-01 08:02:26 -04:00
|
|
|
REVISION= 0
|
2010-08-25 21:10:16 -04:00
|
|
|
|
|
|
|
SHARED_LIBS= disorder 0.0
|
|
|
|
|
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://libdisorder.freshdefense.net/
|
|
|
|
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
WANTLIB= c m
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/releases/
|
|
|
|
|
|
|
|
MAKE_FILE= ${FILESDIR}/Makefile
|
|
|
|
MAKE_ENV= SHLIB_MAJOR=${LIBdisorder_VERSION:R} \
|
|
|
|
SHLIB_MINOR=${LIBdisorder_VERSION:E}
|
|
|
|
FAKE_FLAGS= LIBDIR=${LOCALBASE}/lib DEBUGLIBS=no
|
|
|
|
CFLAGS+= -I${WRKSRC}/include
|
|
|
|
|
2013-03-11 06:50:00 -04:00
|
|
|
NO_TEST= Yes
|
2010-08-25 21:10:16 -04:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
cd ${WRKSRC}/tool \
|
|
|
|
&& ${CC} ${CFLAGS} -o ropy ropy.c -L${WRKBUILD} -ldisorder
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/disorder.h ${PREFIX}/include
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tool/ropy ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|