diff options
author | agc <agc@pkgsrc.org> | 2000-01-20 11:13:04 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-01-20 11:13:04 +0000 |
commit | a1caab21ce60751edd7b96a36f460704d72a7d10 (patch) | |
tree | e59df328656a70bf4cac2fb55499390a6d659005 /devel/avltree | |
parent | e294405dacebd0d7d463e2fb01774637b9f5e419 (diff) | |
download | pkgsrc-a1caab21ce60751edd7b96a36f460704d72a7d10.tar.gz |
There are times when libtool is complete overkill. This is one of them.
Use a BSD-style Makefile for this package.
Diffstat (limited to 'devel/avltree')
-rw-r--r-- | devel/avltree/Makefile | 7 | ||||
-rw-r--r-- | devel/avltree/files/patch-sum | 4 | ||||
-rw-r--r-- | devel/avltree/patches/patch-aa | 47 | ||||
-rw-r--r-- | devel/avltree/pkg/PLIST | 5 |
4 files changed, 26 insertions, 37 deletions
diff --git a/devel/avltree/Makefile b/devel/avltree/Makefile index b9be5e05823..49e0a059963 100644 --- a/devel/avltree/Makefile +++ b/devel/avltree/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2000/01/20 01:40:10 hubertf Exp $ +# $NetBSD: Makefile,v 1.2 2000/01/20 11:13:04 agc Exp $ DISTNAME= avltree-1.1 CATEGORIES= devel @@ -6,7 +6,8 @@ MASTER_SITES= ftp://odin.compchem.ucsf.edu/pub/amber/ MAINTAINER= wrstuden@netbsd.org -MANCOMPRESSED= yes -USE_LIBTOOL= yes +MANCOMPRESSED_IF_MANZ= yes +MAKEFILE= bsd.mk +INSTALL_TARGET= includes install .include "../../mk/bsd.pkg.mk" diff --git a/devel/avltree/files/patch-sum b/devel/avltree/files/patch-sum index c8fee6ae5d1..f755c00bfc9 100644 --- a/devel/avltree/files/patch-sum +++ b/devel/avltree/files/patch-sum @@ -1,3 +1,3 @@ -$NetBSD: patch-sum,v 1.1.1.1 2000/01/20 01:40:11 hubertf Exp $ +$NetBSD: patch-sum,v 1.2 2000/01/20 11:13:05 agc Exp $ -MD5 (patch-aa) = 21694b40597410d7ccffa44572b2a875 +MD5 (patch-aa) = f0ce971f89ff795ae4e0312e279c936e diff --git a/devel/avltree/patches/patch-aa b/devel/avltree/patches/patch-aa index ae028762dd5..b36775d4f40 100644 --- a/devel/avltree/patches/patch-aa +++ b/devel/avltree/patches/patch-aa @@ -1,31 +1,18 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/01/20 01:40:11 hubertf Exp $ +$NetBSD: patch-aa,v 1.2 2000/01/20 11:13:05 agc Exp $ ---- Makefile.orig Wed Jan 19 15:47:48 2000 -+++ Makefile Wed Jan 19 16:03:35 2000 -@@ -1,21 +1,21 @@ - # makefile for: avltree - # version: 1.1 - # Date created: 13 January 2000 - # Whom: Bill Ross <bross@nas.nasa.gov> <ross@cgl.ucsf.edu> - # --CC= cc - - all: libavltree.a - - libavltree.a: avltree.o -- $(AR) r libavltree.a avltree.o -- strip libavltree.a -+ ${LIBTOOL} --mode=link cc -o ${.TARGET:.a=.la} \ -+ avltree.lo -rpath ${PREFIX}/lib \ -+ -version-info 1:0 - - avltree.o: avltree.c avltree.h -- $(CC) -c avltree.c -+ ${LIBTOOL} --mode=compile ${CC} -c avltree.c - - install: libavltree.a -- install -c libavltree.a $(PREFIX)/lib -+ ${LIBTOOL} --mode=install install -c libavltree.la ${PREFIX}/lib - install -c avltree.h $(PREFIX)/include - gzip -c avltree.3 > $(PREFIX)/man/man3/avltree.3.gz - +Use a BSD-style Makefile for this package + +--- /dev/null Thu Jan 20 10:30:51 2000 ++++ bsd.mk Thu Jan 20 10:51:12 2000 +@@ -0,0 +1,11 @@ ++LIB= avltree ++SRCS= avltree.c ++SHLIB_MAJOR=1 ++SHLIB_MINOR=1 ++MAN= avltree.3 ++INCS= avltree.h ++LIBDIR=${PREFIX}/lib ++MANDIR=${PREFIX}/man ++INCSDIR=${PREFIX}/include ++ ++.include <bsd.lib.mk> diff --git a/devel/avltree/pkg/PLIST b/devel/avltree/pkg/PLIST index b409e491783..e10131ab8aa 100644 --- a/devel/avltree/pkg/PLIST +++ b/devel/avltree/pkg/PLIST @@ -1,5 +1,6 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2000/01/20 01:40:11 hubertf Exp $ +@comment $NetBSD: PLIST,v 1.2 2000/01/20 11:13:05 agc Exp $ lib/libavltree.a -lib/libavltree.so.1.0 +lib/libavltree.so.1.1 include/avltree.h +man/cat3/avltree.0.gz man/man3/avltree.3.gz |