1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/comms/unixcw/files/patch-src_cwlib_Makefile
Diane Bruce 13966ac24e The heart of the package is 'libcw'. This is a library which, when built,
offers the following basic CW services to a caller program:

  o Morse code character translation tables, and lookup functions
  o Morse code low-level timing calculations
  o A 'sidetone' generation and queueing system, using either the system sound
    card, the console speaker, or both
  o Optional keying control for an external device, say a transmitter, or an
    oscillator
  o CW character and string send routines, tied in with the character lookup
  o CW receive routines, also tied in to the character lookup
  o Adaptive speed tracking of received CW
  o An iambic keyer, with both Curtis 8044 types A and B timing
  o Straight key emulation

Submitted by:	self
2008-01-01 18:13:56 +00:00

28 lines
1.0 KiB
Plaintext

--- src/cwlib/Makefile.orig 2006-07-14 23:31:40.000000000 -0400
+++ src/cwlib/Makefile 2007-12-24 17:02:11.000000000 -0500
@@ -83,14 +83,13 @@
# Install targets.
install: all
$(INSTALL) -d $(includedir) $(libdir) $(mandir)/man3 $(mandir)/man7 \
- $(libdir)/pkgconfig
+ %%LIBDATA%%/pkgconfig
$(INSTALL_DATA) cwlib.h $(includedir)/cwlib.h
$(INSTALL_DATA) libcw.a $(libdir)/libcw.a
if [ "$(CC_LINKS_SO)" = "yes" -o "$(LD_LINKS_SO)" = "yes" ]; then \
$(INSTALL_PROGRAM) libcw.so.0.0.0 $(libdir)/libcw.so.0.0.0; \
$(LN_S) -f libcw.so.0.0.0 $(libdir)/libcw.so.0; \
$(LN_S) -f libcw.so.0.0.0 $(libdir)/libcw.so; \
- $(LDCONFIG) -n $(libdir); \
fi
$(INSTALL_DATA) cwlib.3 $(mandir)/man3/cwlib.3
$(GZIP) -f -9 $(mandir)/man3/cwlib.3
@@ -98,7 +97,7 @@
$(GZIP) -f -9 $(mandir)/man7/cw.7
$(INSTALL_DATA) cw.7 $(mandir)/man7/CW.7
$(GZIP) -f -9 $(mandir)/man7/CW.7
- $(INSTALL_DATA) libcw.pc $(libdir)/pkgconfig/libcw.pc
+ $(INSTALL_DATA) libcw.pc %%LIBDATA%%/pkgconfig/libcw.pc
install-strip:
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install