openbsd-ports/net/tcludp/patches/patch-Makefile_in
sebastia 62936e6a5b import tcludp
Tcl UDP extension

This package provides support for using UDP through Tcl.
The package provides a new channel type and attempts to
permit the use of packet oriented UDP over stream oriented
Tcl channels.

OK, landry@
2010-07-28 17:07:25 +00:00

24 lines
845 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.1.1.1 2010/07/28 17:07:25 sebastia Exp $
--- Makefile.in.orig Tue Apr 25 13:13:33 2006
+++ Makefile.in Sun Jul 18 12:25:38 2010
@@ -200,7 +200,7 @@ udp.html: $(srcdir)/doc/udp.man
$(DTPLITE) -o $@ html $(srcdir)/doc/udp.man ; \
fi
-install: all install-binaries install-libraries install-doc
+install: all install-binaries install-libraries install-doc install-demos
install-binaries: binaries install-lib-binaries install-bin-binaries
@@ -230,6 +230,10 @@ install-doc: doc
rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \
$(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \
done
+
+install-demos:
+ mkdir -p $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_SCRIPT) $(srcdir)/demos/*.tcl $(DESTDIR)$(pkgdatadir)
test: binaries libraries
$(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS)