Update to newer Tcl layout.
Cleanup Makefile. OK landry@, stu@
This commit is contained in:
parent
11d74dd77c
commit
3734d0edf5
@ -1,35 +1,38 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2010/11/19 22:31:38 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2011/01/05 18:08:46 sebastia Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
|
||||
COMMENT = Tcl UDP extension
|
||||
|
||||
DISTNAME = tcludp-1.0.8
|
||||
REVISION = 0
|
||||
SHARED_LIBS = udp108 0.0
|
||||
CATEGORIES = net
|
||||
|
||||
HOMEPAGE = http://tcludp.sourceforge.net/
|
||||
|
||||
HOMEPAGE = http://tcludp.sourceforge.net/
|
||||
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tcludp/}
|
||||
MODULES = lang/tcl
|
||||
BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS}
|
||||
RUN_DEPENDS = ${MODTCL_RUN_DEPENDS}
|
||||
FAKE_FLAGS = PKG_DIR=tcludp
|
||||
SEPARATE_BUILD =concurrent
|
||||
USE_GROFF = Yes
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
MODULES = lang/tcl
|
||||
BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS}
|
||||
RUN_DEPENDS = ${MODTCL_RUN_DEPENDS}
|
||||
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
|
||||
--with-tcl=${MODTCL_LIBDIR} \
|
||||
--libdir=${MODTCL_TCLDIR} \
|
||||
--datadir=${PREFIX}/share/examples \
|
||||
SHLIB_VERSION=${LIBudp108_VERSION} \
|
||||
CFLAGS="${CFLAGS} -pthread"
|
||||
|
||||
SEPARATE_BUILD = simple
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS = --with-tcl=${MODTCL_LIBDIR} \
|
||||
--datadir=${PREFIX}/share/examples
|
||||
USE_GROFF = Yes
|
||||
REGRESS_TARGET = test
|
||||
CONFIGURE_ENV = LIBudp108_VERSION=${LIBudp108_VERSION}
|
||||
REGRESS_TARGET =test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2010/07/28 17:07:25 sebastia Exp $
|
||||
--- configure.orig Mon Dec 7 09:41:40 2009
|
||||
+++ configure Mon Dec 7 09:41:16 2009
|
||||
$OpenBSD: patch-configure,v 1.2 2011/01/05 18:08:46 sebastia Exp $
|
||||
--- configure.orig Mon May 15 10:27:16 2006
|
||||
+++ configure Fri Dec 17 02:06:17 2010
|
||||
@@ -8419,7 +8419,7 @@ echo "${ECHO_T}$tcl_cv_ld_elf" >&6
|
||||
DL_LIBS=""
|
||||
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
|
||||
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
|
||||
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
|
||||
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${LIBudp108_VERSION}'
|
||||
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
|
||||
echo "$as_me:$LINENO: checking for ELF" >&5
|
||||
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
|
||||
if test "${tcl_cv_ld_elf+set}" = set; then
|
||||
|
@ -1,11 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/07/28 17:07:25 sebastia Exp $
|
||||
lib/udp1.0.8/
|
||||
@lib lib/udp1.0.8/libudp108.so.${LIBudp108_VERSION}
|
||||
lib/udp1.0.8/pkgIndex.tcl
|
||||
@comment $OpenBSD: PLIST,v 1.2 2011/01/05 18:08:46 sebastia Exp $
|
||||
lib/tcl/tcludp/
|
||||
@lib lib/tcl/tcludp/libudp108.so.${LIBudp108_VERSION}
|
||||
lib/tcl/tcludp/pkgIndex.tcl
|
||||
@man man/mann/udp.n
|
||||
share/examples/udp1.0.8/
|
||||
share/examples/udp1.0.8/broadcast.tcl
|
||||
share/examples/udp1.0.8/bug1158628.tcl
|
||||
share/examples/udp1.0.8/chat.tcl
|
||||
share/examples/udp1.0.8/multicast.tcl
|
||||
share/examples/udp1.0.8/udpcat.tcl
|
||||
share/examples/tcludp/
|
||||
share/examples/tcludp/broadcast.tcl
|
||||
share/examples/tcludp/bug1158628.tcl
|
||||
share/examples/tcludp/chat.tcl
|
||||
share/examples/tcludp/multicast.tcl
|
||||
share/examples/tcludp/udpcat.tcl
|
||||
|
Loading…
Reference in New Issue
Block a user