mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
58 lines
1.6 KiB
Makefile
58 lines
1.6 KiB
Makefile
# Created by: David Thiel <lx@redundancy.redundancy.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ucspi-ssl
|
|
PORTVERSION?= 0.70
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= LOCAL/garga/ucspi-ssl \
|
|
http://www.superscript.com/ucspi-ssl/ \
|
|
http://dev.qmailrocks.org/downloads/qmailrocks_3.0-beta/ \
|
|
GENTOO
|
|
|
|
MAINTAINER?= lx@FreeBSD.org
|
|
COMMENT?= UCSPI tools for building SSL client-server applications
|
|
|
|
RUN_DEPENDS= tcpserver:${PORTSDIR}/sysutils/ucspi-tcp \
|
|
${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
|
|
|
|
CONFLICTS?= ucspi-ssl-tls-[0-9]*
|
|
|
|
USES= perl5
|
|
|
|
PORTDOCS= CHANGES TODO UCSPI-SSL
|
|
|
|
WRKSRC= ${WRKDIR}/host/superscript.com/net/${DISTNAME}
|
|
|
|
SCRIPTS_TO_INSTALL= https@ sslcat sslconnect
|
|
|
|
post-patch:
|
|
.for x in ${SCRIPTS_TO_INSTALL}
|
|
@${REINPLACE_CMD} -i '' -e 's|HOME/command/|${PREFIX}/bin/|' \
|
|
${WRKSRC}/src/${x}.sh
|
|
.endfor
|
|
|
|
do-configure:
|
|
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
|
|
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-ld
|
|
${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/src/conf-home
|
|
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/src/conf-tcpbin
|
|
${ECHO_CMD} "/etc/ssl" > ${WRKSRC}/src/conf-cadir
|
|
${ECHO_CMD} "/etc/ssl/cert.pem" > ${WRKSRC}/src/conf-cafile
|
|
${ECHO_CMD} "/etc/ssl/dh1024.pem" > ${WRKSRC}/src/conf-dhfile
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} package/compile
|
|
|
|
do-install:
|
|
.for x in ${SCRIPTS_TO_INSTALL}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/command/${x} ${STAGEDIR}${PREFIX}/bin
|
|
.endfor
|
|
.for x in sslclient sslserver sslperl
|
|
${INSTALL_PROGRAM} ${WRKSRC}/command/${x} ${STAGEDIR}${PREFIX}/bin
|
|
.endfor
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/src && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|