diff options
author | jtb <jtb@pkgsrc.org> | 2001-02-08 06:01:05 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-02-08 06:01:05 +0000 |
commit | 19168c929f425372483973e27f864396211a7bc7 (patch) | |
tree | b317187ec73087b624add1826b9d78964aaa1680 /math | |
parent | b7c79dbff26c58e8f67e09e9655b025fac35b878 (diff) | |
download | pkgsrc-19168c929f425372483973e27f864396211a7bc7.tar.gz |
Use generic BSD build system for making shared libraries. (No more libtool).
Diffstat (limited to 'math')
-rw-r--r-- | math/dcdflib.c/Makefile | 10 | ||||
-rw-r--r-- | math/dcdflib.c/files/patch-sum | 4 | ||||
-rw-r--r-- | math/dcdflib.c/patches/patch-ab | 28 | ||||
-rw-r--r-- | math/dcdflib.c/pkg/PLIST | 5 |
4 files changed, 21 insertions, 26 deletions
diff --git a/math/dcdflib.c/Makefile b/math/dcdflib.c/Makefile index d308a0b597e..1f3774d102d 100644 --- a/math/dcdflib.c/Makefile +++ b/math/dcdflib.c/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/01/29 06:13:54 jtb Exp $ +# $NetBSD: Makefile,v 1.2 2001/02/08 06:01:05 jtb Exp $ DISTNAME= dcdflib.c-1.1 CATEGORIES= math @@ -7,14 +7,14 @@ MASTER_SITES= ftp://odin.mdacc.tmc.edu/pub/source/ MAINTAINER= jtb@netbsd.org HOMEPAGE= http://odin.mdacc.tmc.edu/anonftp/page_2.html -USE_LIBTOOL= YES WRKSRC= ${WRKDIR}/dcdflib.c/src post-install: ${INSTALL_DATA} ${WRKSRC}/../doc/dcdflib.h ${PREFIX}/include ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dcdflib.c - ${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/dcdflib.c - ${INSTALL_DATA} ${WRKSRC}/../doc/dcdflib.chs ${PREFIX}/share/doc/dcdflib.c - ${INSTALL_DATA} ${WRKSRC}/../doc/dcdflib.fdoc ${PREFIX}/share/doc/dcdflib.c + @for f in README doc/dcdflib.chs doc/dcdflib.fdoc; do \ + i="${INSTALL_DATA} ${WRKDIR}/dcdflib.c/$$f ${PREFIX}/share/doc/dcdflib.c/"; \ + ${ECHO} $$i; $$i; \ + done .include "../../mk/bsd.pkg.mk" diff --git a/math/dcdflib.c/files/patch-sum b/math/dcdflib.c/files/patch-sum index 37f113439c5..5b859514732 100644 --- a/math/dcdflib.c/files/patch-sum +++ b/math/dcdflib.c/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.2 2001/01/29 21:43:14 jtb Exp $ +$NetBSD: patch-sum,v 1.3 2001/02/08 06:01:05 jtb Exp $ MD5 (patch-aa) = ae0ee58bbbd7d45f7eae98ffd44c957f -MD5 (patch-ab) = 94a6d483782aea2c4738a51dae5cf45f +MD5 (patch-ab) = d398846a3a511c079da8a136b916aff9 diff --git a/math/dcdflib.c/patches/patch-ab b/math/dcdflib.c/patches/patch-ab index e6660041f91..e7f59a922b3 100644 --- a/math/dcdflib.c/patches/patch-ab +++ b/math/dcdflib.c/patches/patch-ab @@ -1,25 +1,19 @@ -$NetBSD: patch-ab,v 1.1.1.1 2001/01/29 06:13:54 jtb Exp $ +$NetBSD: patch-ab,v 1.2 2001/02/08 06:01:06 jtb Exp $ ---- /dev/null Mon Jan 29 05:11:27 2001 +--- /dev/null Thu Feb 8 05:50:43 2001 +++ Makefile -@@ -0,0 +1,20 @@ -+LIB = dcdflib +@@ -0,0 +1,14 @@ ++LIB= dcdflib + -+LIBDIR = ${PREFIX}/lib ++SHLIB_MAJOR=0 ++SHLIB_MINOR=0 + -+all: lib$(LIB).la ++LIBDIR=${PREFIX}/lib + -+OBJS = dcdflib.o ipmpar.o ++NOLINT=1 + -+lib$(LIB).la: $(OBJS) -+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o $@ $(OBJS:.o=.lo) -lm \ -+ -rpath $(LIBDIR) --version-info 0:0 ++SRCS= dcdflib.c ipmpar.c + -+.c.o: -+ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< ++INCS= cdflib.h + -+install: lib$(LIB).la -+ $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $? $(LIBDIR) -+ -+clean: -+ rm -fr *.o *.lo .libs lib$(LIB).la ++.include <bsd.lib.mk> diff --git a/math/dcdflib.c/pkg/PLIST b/math/dcdflib.c/pkg/PLIST index 0c418821562..e853cd5d04c 100644 --- a/math/dcdflib.c/pkg/PLIST +++ b/math/dcdflib.c/pkg/PLIST @@ -1,9 +1,10 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2001/01/29 06:13:54 jtb Exp $ +@comment $NetBSD: PLIST,v 1.2 2001/02/08 06:01:06 jtb Exp $ include/dcdflib.h lib/libdcdflib.a -lib/libdcdflib.la lib/libdcdflib.so.0 lib/libdcdflib.so.0.0 +lib/libdcdflib_p.a +lib/libdcdflib_pic.a share/doc/dcdflib.c/README share/doc/dcdflib.c/dcdflib.chs share/doc/dcdflib.c/dcdflib.fdoc |