freebsd-ports/devel/libdisorder/Makefile
Dmitry Marakasov b9398223bd Convert LICENSE= "GPLxx # or later" to "GPLxx+"
Approved by:	portmgr blanket
2016-01-12 16:20:31 +00:00

31 lines
841 B
Makefile

# $FreeBSD$
PORTNAME= libdisorder
PORTVERSION= 0.0.2
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://libdisorder.freshdefense.net/releases/
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Simple C library for entropy measurement
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USE_LDCONFIG= yes
BUILD_WRKSRC= ${WRKSRC}/src
MAKE_JOBS_UNSAFE= yes
post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/src/Makefile
do-install:
${INSTALL_DATA} ${WRKSRC}/include/disorder.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/lib/libdisorder.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_LIB} ${WRKSRC}/src/libdisorder.so \
${STAGEDIR}${PREFIX}/lib/libdisorder.so.1
${INSTALL_PROGRAM} ${WRKSRC}/tool/ropy ${STAGEDIR}${PREFIX}/bin
${LN} -sf ${PREFIX}/lib/libdisorder.so.1 ${STAGEDIR}${PREFIX}/lib/libdisorder.so
.include <bsd.port.mk>