8b4093cba5
The only reason to use post-stage is because the port needs to do "things" at a later time, like some plist manipulation. While there, fold post-install in do-install targets when they are defined. PR: 214780 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight
33 lines
744 B
Makefile
33 lines
744 B
Makefile
# Created by: Yuri Victorovich <yuri@rawbw.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= opendht
|
|
PORTVERSION= 0.5.2
|
|
CATEGORIES= devel net
|
|
|
|
MAINTAINER= yuri@rawbw.com
|
|
COMMENT= Lightweight Distributed Hash Table implementation
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libmsgpackc.so:devel/msgpack \
|
|
libnettle.so:security/nettle \
|
|
libgnutls.so:security/gnutls \
|
|
libreadline.so:devel/readline
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= savoirfairelinux
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--disable-python
|
|
USE_LDCONFIG= yes
|
|
|
|
USES= autoreconf compiler:c++11-lib libtool pathfix pkgconfig
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
CXXFLAGS+= -I${LOCALBASE}/include
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopendht.so.0.0.0
|
|
|
|
.include <bsd.port.mk>
|