49786cfa02
- Fix build with clang net-p2p/verlihub-plugins*: - Add USES=libtool and INSTALL_TARGET=install-strip - Drop USE_GCC=any - Avoid including bsd.port.pre.mk
33 lines
853 B
Makefile
33 lines
853 B
Makefile
# Created by: Bill Cadwallader <hurbold@yahoo.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= verlihub
|
|
DISTVERSION= 0.9.8e-r2
|
|
PORTREVISION= 6
|
|
PORTEPOCH= 1
|
|
CATEGORIES= net-p2p
|
|
MASTER_SITES= SF/${PORTNAME}/Verlihub/${DISTVERSION}
|
|
|
|
MAINTAINER= me@skylord.ru
|
|
COMMENT= Direct Connect protocol server (Hub)
|
|
|
|
# XXX: Actually, bash isn't required for building,
|
|
# but otherwise configure script would pick the wrong path
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP \
|
|
libpcre.so:${PORTSDIR}/devel/pcre
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
USE_RC_SUBR= verlihub
|
|
USES= libtool
|
|
USE_MYSQL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USE_OPENSSL= yes
|
|
SUB_FILES+= pkg-message
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|for libpath in /|for libpath in ${PREFIX} /|g' ${WRKSRC}/config_geoip
|
|
|
|
.include <bsd.port.mk>
|