33 lines
875 B
Makefile
33 lines
875 B
Makefile
# Created by: Marcel Prisi <marcel.prisi@virtua.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= distcache
|
|
PORTVERSION= 1.4.5
|
|
PORTREVISION= 2
|
|
CATEGORIES= security www
|
|
MASTER_SITES= SF/${PORTNAME}/2.%20${PORTNAME}-stable/${PORTVERSION} \
|
|
http://osdn.dl.sourceforge.net/sourceforge/${PORTNAME}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Distributed OpenSSL session caching tools
|
|
|
|
USES= libtool tar:bzip2
|
|
USE_RC_SUBR= dc_server
|
|
USE_OPENSSL= yes
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-shared
|
|
INSTALL_TARGET= install-strip
|
|
|
|
SUB_LIST+= NAME=dc_server
|
|
PORTDOCS= ANNOUNCE BUGS CHANGES FAQ INSTALL LICENSE README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
|
# INSTALL_TARGET=install-strip isn't working! Brute force it
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
|
|
|
|
.include <bsd.port.mk>
|