Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2014 12:05:03 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339592 - head/sysutils/tclsyslog
Message-ID:  <201401131205.s0DC53w3056085@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Jan 13 12:05:03 2014
New Revision: 339592
URL: http://svnweb.freebsd.org/changeset/ports/339592

Log:
  - Convert to USES=tcl
  - STAGE-clean

Modified:
  head/sysutils/tclsyslog/Makefile

Modified: head/sysutils/tclsyslog/Makefile
==============================================================================
--- head/sysutils/tclsyslog/Makefile	Mon Jan 13 12:00:43 2014	(r339591)
+++ head/sysutils/tclsyslog/Makefile	Mon Jan 13 12:05:03 2014	(r339592)
@@ -10,26 +10,24 @@ MASTER_SITES=	http://ftp.wagner.pp.ru/pu
 MAINTAINER=	frank@fenor.de
 COMMENT=	Tcl Interface to Syslog
 
-USE_TCL=	84+
-MANN=		syslog.n
-MANCOMPRESSED=	no
+USES=		tcl
 
 WRKSRC=		${WRKDIR}/tclsyslog
 
 PLIST_FILES=	lib/syslog/libsyslog.so.2.1 \
-		lib/syslog/pkgIndex.tcl
+		lib/syslog/pkgIndex.tcl \
+		man/mann/syslog.n.gz
 PLIST_DIRS=	lib/syslog
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -E \
 		-e 's|CC=gcc|CC=${CC}|' \
 		-e 's|	gcc|	$${CC} $${CFLAGS}|' \
 		-e 's|CFLAGS=|CFLAGS=${CFLAGS} |' \
 		-e 's|LDFLAGS=-shared -L/usr/local/lib|LDFLAGS=-shared -L${PREFIX}/lib|' \
-		-e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|' \
+		-e 's|PREFIX=/usr/local|PREFIX=${STAGEDIR}${PREFIX}|' \
 		-e 's|INCLUDES=-I/usr/local/include|INCLUDES=-I${TCL_INCLUDEDIR}|' \
-		-e 's|LOADLIBES=-ltclstub8.2|LOADLIBES=-ltclstub${TCL_VER:S/.//}|' \
+		-e 's|LOADLIBES=-ltclstub8.2|LOADLIBES=-ltclstub${TCL_SHLIB_VER}|' \
 		${WRKSRC}/Makefile
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401131205.s0DC53w3056085>