aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-07-26 08:39:02 +0800
committerlioux <lioux@FreeBSD.org>2005-07-26 08:39:02 +0800
commit5607207d3e0c9a07a04dc3b62f2f52f2a847a864 (patch)
treeda6c49b9454a1249635a6928ecc8a9584f1aeda1 /sysutils
parente6823ab6cd5502358d54082f8b76d7fea2111d8a (diff)
downloadfreebsd-ports-gnome-5607207d3e0c9a07a04dc3b62f2f52f2a847a864.tar.gz
freebsd-ports-gnome-5607207d3e0c9a07a04dc3b62f2f52f2a847a864.tar.zst
freebsd-ports-gnome-5607207d3e0c9a07a04dc3b62f2f52f2a847a864.zip
o Fix PREFIX within https@, sslcat and sslconnect
o Bump PORTREVISION Approved by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ucspi-ssl/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/sysutils/ucspi-ssl/Makefile b/sysutils/ucspi-ssl/Makefile
index 88282977c9df..a2f10e7f53ec 100644
--- a/sysutils/ucspi-ssl/Makefile
+++ b/sysutils/ucspi-ssl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ucspi-ssl
PORTVERSION= 0.68
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.superscript.com/ucspi-ssl/
@@ -23,6 +24,15 @@ DOCS= 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}
+ @${PERL} -pi.orig \
+ -e 's|HOME/command/|${PREFIX}/bin/|' \
+ ${WRKSRC}/src/${x}.sh
+.endfor
+
do-configure:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/src/conf-home
@@ -39,7 +49,7 @@ do-build:
cd ${WRKSRC} && package/compile
do-install:
-.for x in https@ sslcat sslconnect
+.for x in ${SCRIPTS_TO_INSTALL}
${INSTALL_SCRIPT} ${WRKSRC}/command/${x} ${PREFIX}/bin
.endfor
.for x in sslclient sslserver sslperl