mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
d74fb03b0a
usefull for earlier ones. Get rid of patches and provide Makefile.bsd instead (which uses bsd.lib.mk). Remove the WITH_TCL8x spaghetti and rely TCL_VER?=8.3 instead. I think, I botched my previous commit, so this applies to it too.
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: tclgetopts
|
|
# Date created: 4 May 2000
|
|
# Whom: mi@aldan.algebra.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tcltls
|
|
PORTVERSION= 1.4
|
|
CATEGORIES= devel tcl83
|
|
MASTER_SITES= ${MASTER_SITE_TCLTK}
|
|
MASTER_SITE_SUBDIR=tls
|
|
DISTNAME= tls${PORTVERSION}
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
|
|
LIB_DEPENDS+= tcl${TCLVND}:${PORTSDIR}/lang/tcl${TCLVND}
|
|
|
|
USE_OPENSSL= Yes
|
|
|
|
pre-patch:
|
|
# Fixing the end-of-lines:
|
|
for f in `find ${WRKSRC}/.. -type f` ; do \
|
|
${TR} -d '\015' < $$f > $$f.noms && \
|
|
${CAT} $$f.noms > $$f && ${RM} $$f.noms; done
|
|
|
|
PLIST_SUB+= TCL_VER=${TCL_VER} DISTNAME="${DISTNAME}"
|
|
MAKEFILE= ${FILESDIR}/Makefile.bsd
|
|
MAKE_ENV= TCL_VER=${TCL_VER} MKDIR="${MKDIR}" \
|
|
INSTALL_DATA="${INSTALL_DATA}" \
|
|
OPENSSLINC="${OPENSSLINC}" OPENSSLLIB="${OPENSSLLIB}" \
|
|
OPENSSLDIR="${OPENSSLDIR}" CFLAGS="${CFLAGS}" \
|
|
PORTVERSION="${PORTVERSION}" SED="${SED}"
|
|
|
|
post-install:
|
|
${MKDIR} ${PREFIX}/share/doc/tls
|
|
${INSTALL_DATA} ${WRKSRC}/tls.htm ${PREFIX}/share/doc/tls/
|
|
|
|
TCL_VER?= 8.3
|
|
TCLVND= ${TCL_VER:S/.//}
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
PLIST_SUBP!= ${ENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} environ
|
|
PLIST_SUB+= ${PLIST_SUBP}
|