mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
4b9d53e4b4
basE91 is an advanced method for encoding binary data as ASCII characters. It is similar to UUencode or base64, but is more efficient. The overhead produced by basE91 depends on the input data. It amounts at most to 23% (versus 33% for base64) and can range down to 14%, which typically occurs on 0-byte blocks. This makes basE91 very useful for transferring larger files over binary unsafe connections like e-mail or terminal lines. WWW: http://base91.sourceforge.net/ PR: 238202 Submitted by: takefu@airport.fm Reviewed by: miwi, tcberner Differential Revision: https://reviews.freebsd.org/D20803
36 lines
742 B
Plaintext
36 lines
742 B
Plaintext
--- Makefile.orig 2006-09-03 18:00:00 UTC
|
|
+++ Makefile
|
|
@@ -1,15 +1,15 @@
|
|
-CFLAGS = -Wall -W -O2
|
|
-LDFLAGS = -s
|
|
+CFLAGS ?= -Wall -W -O2
|
|
+LDFLAGS ?= -s
|
|
|
|
-CC = gcc
|
|
-INSTALL = install
|
|
-INSTALL_DATA = $(INSTALL) -m 444
|
|
-INSTALL_PROGRAM = $(INSTALL) -m 555
|
|
+CC ?= gcc
|
|
+INSTALL ?= install
|
|
+INSTALL_DATA ?= $(INSTALL) -m 444
|
|
+INSTALL_PROGRAM ?= $(INSTALL) -m 555
|
|
|
|
-prefix = /usr/local
|
|
+prefix = ${PREFIX}
|
|
exec_prefix = $(prefix)
|
|
bindir = $(exec_prefix)/bin
|
|
-mandir = $(prefix)/share/man
|
|
+mandir = $(prefix)/man
|
|
man1dir = $(mandir)/man1
|
|
manext = .1
|
|
|
|
@@ -23,7 +23,7 @@ all: $(BIN)
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
base91: cli.o base91.o
|
|
- $(CC) $(LDFLAGS) -o $@ $^
|
|
+ $(CC) $(LDFLAGS) -o $@ cli.o base91.o
|
|
|
|
install: all
|
|
mkdir -p $(DESTDIR)$(bindir)
|