2013-09-21 01:05:58 +02:00
|
|
|
# Created by: Frank Fenor <frank@fenor.de>
|
2008-04-17 16:20:23 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tclsyslog
|
|
|
|
PORTVERSION= 2.1
|
2009-02-23 15:46:37 +01:00
|
|
|
PORTREVISION= 1
|
2008-04-17 16:20:23 +02:00
|
|
|
CATEGORIES= sysutils tcl
|
|
|
|
MASTER_SITES= http://ftp.wagner.pp.ru/pub/tcl/tclsyslog/
|
|
|
|
|
|
|
|
MAINTAINER= frank@fenor.de
|
|
|
|
COMMENT= Tcl Interface to Syslog
|
|
|
|
|
2014-01-13 13:05:03 +01:00
|
|
|
USES= tcl
|
2008-04-17 16:20:23 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/tclsyslog
|
|
|
|
|
|
|
|
PLIST_FILES= lib/syslog/libsyslog.so.2.1 \
|
2014-01-13 13:05:03 +01:00
|
|
|
lib/syslog/pkgIndex.tcl \
|
|
|
|
man/mann/syslog.n.gz
|
2008-04-17 16:20:23 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E \
|
|
|
|
-e 's|CC=gcc|CC=${CC}|' \
|
|
|
|
-e 's| gcc| $${CC} $${CFLAGS}|' \
|
2008-07-24 21:45:23 +02:00
|
|
|
-e 's|CFLAGS=|CFLAGS=${CFLAGS} |' \
|
2008-04-17 16:20:23 +02:00
|
|
|
-e 's|LDFLAGS=-shared -L/usr/local/lib|LDFLAGS=-shared -L${PREFIX}/lib|' \
|
2014-01-13 13:05:03 +01:00
|
|
|
-e 's|PREFIX=/usr/local|PREFIX=${STAGEDIR}${PREFIX}|' \
|
2008-04-17 16:20:23 +02:00
|
|
|
-e 's|INCLUDES=-I/usr/local/include|INCLUDES=-I${TCL_INCLUDEDIR}|' \
|
2014-01-13 13:05:03 +01:00
|
|
|
-e 's|LOADLIBES=-ltclstub8.2|LOADLIBES=-ltclstub${TCL_SHLIB_VER}|' \
|
2008-04-17 16:20:23 +02:00
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|