svn commit: r347121 - head/databases/sharedance
Baptiste Daroussin
bapt at FreeBSD.org
Wed Mar 5 16:44:26 UTC 2014
Author: bapt
Date: Wed Mar 5 16:44:26 2014
New Revision: 347121
URL: http://svnweb.freebsd.org/changeset/ports/347121
QAT: https://qat.redports.org/buildarchive/r347121/
Log:
Convert to use libevent2
Modified:
head/databases/sharedance/Makefile
Modified: head/databases/sharedance/Makefile
==============================================================================
--- head/databases/sharedance/Makefile Wed Mar 5 16:28:10 2014 (r347120)
+++ head/databases/sharedance/Makefile Wed Mar 5 16:44:26 2014 (r347121)
@@ -3,22 +3,27 @@
PORTNAME= sharedance
PORTVERSION= 0.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= databases
MASTER_SITES= http://download.pureftpd.org/pub/sharedance/
MAINTAINER= gslin at gslin.org
-COMMENT= A daemon to centralize keys and associated data
+COMMENT= Daemon to centralize keys and associated data
-LIB_DEPENDS= libevent-1.4.so:${PORTSDIR}/devel/libevent
+LIB_DEPENDS= libevent-2.0.so:${PORTSDIR}/devel/libevent2
CONFIGURE_ARGS= --with-largefile
GNU_CONFIGURE= yes
USE_BZIP2= yes
+CFLAGS+= -I${LOCALBASE}/include/event2/compat \
+ -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib/event2
+
+post-patch:
+ @${REINPLACE_CMD} -e "s/-levent/-levent-2.0/g" ${WRKSRC}/configure
-NO_STAGE= yes
post-install:
- ${MKDIR} ${DATADIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/php/*.php ${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/php/*.php ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list