2013-09-21 00:55:24 +02:00
|
|
|
# Created by: Marcel Prisi <marcel.prisi@virtua.ch>
|
2005-04-18 21:04:40 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= distcache
|
2018-02-12 08:35:36 +01:00
|
|
|
DISTVERSION= 1.5.1
|
2005-04-18 21:04:40 +02:00
|
|
|
CATEGORIES= security www
|
2019-08-06 19:43:07 +02:00
|
|
|
MASTER_SITES= SF/distcache/1.%20distcache-devel/1.5.1
|
2009-08-22 02:35:32 +02:00
|
|
|
|
2014-09-07 18:25:29 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-04-18 21:04:40 +02:00
|
|
|
COMMENT= Distributed OpenSSL session caching tools
|
|
|
|
|
2016-03-03 17:30:12 +01:00
|
|
|
LICENSE= LGPL21
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2016-09-12 15:23:47 +02:00
|
|
|
USES= libtool ssl tar:bzip2
|
2012-08-06 01:19:36 +02:00
|
|
|
USE_RC_SUBR= dc_server
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-09-07 18:25:29 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2016-09-12 15:23:47 +02:00
|
|
|
CONFIGURE_ARGS= --enable-shared --with-ssl=${OPENSSLBASE}
|
2014-09-07 18:25:29 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2005-04-18 21:04:40 +02:00
|
|
|
|
2016-03-03 17:30:12 +01:00
|
|
|
SUB_LIST= NAME=dc_server
|
|
|
|
PORTDOCS= ANNOUNCE BUGS CHANGES FAQ README
|
2005-04-18 21:04:40 +02:00
|
|
|
|
2014-09-07 18:25:29 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2005-04-18 21:04:40 +02:00
|
|
|
|
2019-04-06 10:08:32 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${SSL_DEFAULT} == base
|
|
|
|
BROKEN_FreeBSD_12= SSL/TLS libraries were missing or unusable
|
|
|
|
BROKEN_FreeBSD_13= SSL/TLS libraries were missing or unusable
|
|
|
|
.endif
|
|
|
|
|
2005-04-18 21:04:40 +02:00
|
|
|
post-install:
|
2014-09-07 18:25:29 +02:00
|
|
|
# INSTALL_TARGET=install-strip isn't working! Brute force it
|
2016-03-03 17:30:12 +01:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
|
|
|
|
|
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
2005-04-18 21:04:40 +02:00
|
|
|
|
2019-04-06 10:08:32 +02:00
|
|
|
.include <bsd.port.post.mk>
|