aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libarc/files
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-09-27 23:11:53 +0800
committervs <vs@FreeBSD.org>2005-09-27 23:11:53 +0800
commitfc4a22b9b0b380eb355b7c62fa7ef124cf4917d7 (patch)
tree453a9512ea79d76c8cb449e5242cd5865db31a39 /archivers/libarc/files
parentb8c97997e15717ad7ea7bb925052ebd16b3e2279 (diff)
downloadfreebsd-ports-gnome-fc4a22b9b0b380eb355b7c62fa7ef124cf4917d7.tar.gz
freebsd-ports-gnome-fc4a22b9b0b380eb355b7c62fa7ef124cf4917d7.tar.zst
freebsd-ports-gnome-fc4a22b9b0b380eb355b7c62fa7ef124cf4917d7.zip
Cleanup a bit: Move install-logic into Makefile instead of patching it into port.
Drop static lib while here.
Diffstat (limited to 'archivers/libarc/files')
-rw-r--r--archivers/libarc/files/patch-aa23
1 files changed, 1 insertions, 22 deletions
diff --git a/archivers/libarc/files/patch-aa b/archivers/libarc/files/patch-aa
index cb6a3074330c..6601419ad2df 100644
--- a/archivers/libarc/files/patch-aa
+++ b/archivers/libarc/files/patch-aa
@@ -1,6 +1,6 @@
--- Makefile Tue Jun 13 07:21:19 2000
+++ Makefile Tue Jun 20 17:44:24 2000
-@@ -14,29 +15,43 @@
+@@ -14,20 +15,30 @@
url_hqxdecode.o url_qsdecode.o url_news.o url_newsgroup.o url_cgiesc.o \
arc_mime.o
@@ -9,8 +9,6 @@
# readdir_win.o (for Windows)
LIB=libarc.a
-+SOLIB=libarc.so
-+SOVERSION?=1
-
-all:: $(LIB)
@@ -33,25 +31,6 @@
- $(RM) $(LIB) *.o arccat *~ libarc/*~
+ $(RM) $(LIB) $(SOLIB).$(SOVERSION) *.o *.so arccat *~ libarc/*~
--install::
-- test -d $(PREFIX)/lib || mkdir -p $(PREFIX)/lib
-- $(INSTALL) -m 444 $(LIB) $(PREFIX)/lib
-- $(RANLIB) $(PREFIX)/lib/$(LIB)
-+install:: all
-+ $(BSD_INSTALL_PROGRAM) arccat $(PREFIX)/bin
-+ $(BSD_INSTALL_PROGRAM) $(SOLIB).$(SOVERSION) $(PREFIX)/lib
-+ $(LN) $(PREFIX)/lib/$(SOLIB).$(SOVERSION) $(PREFIX)/lib/$(SOLIB)
-+ $(BSD_INSTALL_DATA) $(LIB) $(PREFIX)/lib
- test -d $(PREFIX)/include/libarc || mkdir -p $(PREFIX)/include/libarc
-- $(INSTALL) -m 444 libarc/url.h $(PREFIX)/include/libarc
-- $(INSTALL) -m 444 libarc/arc.h $(PREFIX)/include/libarc
-- $(INSTALL) -m 444 libarc/mblock.h $(PREFIX)/include/libarc
-- $(INSTALL) -m 444 libarc/memb.h $(PREFIX)/include/libarc
-+ $(BSD_INSTALL_DATA) libarc/url.h $(PREFIX)/include/libarc
-+ $(BSD_INSTALL_DATA) libarc/arc.h $(PREFIX)/include/libarc
-+ $(BSD_INSTALL_DATA) libarc/mblock.h $(PREFIX)/include/libarc
-+ $(BSD_INSTALL_DATA) libarc/memb.h $(PREFIX)/include/libarc
-+ $(BSD_INSTALL_DATA) unlzh.h zip.h $(PREFIX)/include/libarc
+
+.SUFFIXES: .so .c
+