aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-12-22 16:32:50 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-12-22 16:32:50 +0000
commit4124a652ad8051a6e9f78da0231099f21d0e04cb (patch)
tree84a9fce16a5cd7aca3d74ca9fa8d12daa84d650b /devel
parent22696635ad1338f3732081512b7e13fc743c2646 (diff)
downloadports-4124a652ad8051a6e9f78da0231099f21d0e04cb.tar.gz
ports-4124a652ad8051a6e9f78da0231099f21d0e04cb.zip
Update to version 1.1.0
PR: 23758 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=36231
Diffstat (limited to 'devel')
-rw-r--r--devel/libcache/Makefile15
-rw-r--r--devel/libcache/distinfo2
-rw-r--r--devel/libcache/files/Makefile.lib12
-rw-r--r--devel/libcache/files/patch-aa11
-rw-r--r--devel/libcache/pkg-plist3
5 files changed, 20 insertions, 23 deletions
diff --git a/devel/libcache/Makefile b/devel/libcache/Makefile
index a95be93cbe8a..d1ae1f869c1f 100644
--- a/devel/libcache/Makefile
+++ b/devel/libcache/Makefile
@@ -6,22 +6,17 @@
#
PORTNAME= libcache
-PORTVERSION= 1.0.0
+PORTVERSION= 1.1.0
CATEGORIES= devel
MASTER_SITES= http://www.afro-productions.com/
MAINTAINER= ports@FreeBSD.org
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
INSTALLS_SHLIB= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--enable-shared
-WRKSRC= ${WRKDIR}/libcache
-VERSION= 0
-PLIST_SUB+= VERSION="${VERSION}"
-MAKE_ENV+= PCFLAGS="${CFLAGS}"
-do-install:
- @${INSTALL_DATA} ${WRKSRC}/libcache.so ${PREFIX}/lib/libcache.so.${VERSION}
- @${LN} -sf ${PREFIX}/lib/libcache.so.${VERSION} ${PREFIX}/lib/libcache.so
+pre-build:
+ @${CP} -f ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
.include <bsd.port.mk>
diff --git a/devel/libcache/distinfo b/devel/libcache/distinfo
index faf490dfb083..b1ec9122fe9c 100644
--- a/devel/libcache/distinfo
+++ b/devel/libcache/distinfo
@@ -1 +1 @@
-MD5 (libcache-1.0.0.tar.gz) = f4aee79c2c4d1d25ac7f3465df13d4a2
+MD5 (libcache-1.1.0.tar.gz) = faf6d05de057bf1f2ee6d47642068332
diff --git a/devel/libcache/files/Makefile.lib b/devel/libcache/files/Makefile.lib
new file mode 100644
index 000000000000..8f25363451d6
--- /dev/null
+++ b/devel/libcache/files/Makefile.lib
@@ -0,0 +1,12 @@
+LIB= cache
+
+SHLIB_MAJOR?= 0
+NOPROFILE= yes
+
+SRCS= src/access.c src/parse.c
+
+CFLAGS+= -I${.CURDIR}/include
+
+LIBDIR= ${PREFIX}/lib
+
+.include <bsd.lib.mk>
diff --git a/devel/libcache/files/patch-aa b/devel/libcache/files/patch-aa
deleted file mode 100644
index 3612e7034d92..000000000000
--- a/devel/libcache/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.in Wed Dec 22 12:00:17 1999
-+++ src/Makefile.in.new Fri Feb 4 15:13:19 2000
-@@ -6,7 +6,7 @@
- OBJS=parse.o access.o
-
-
--CFLAGS=${DEBUG} ${DEFINES} -Wall -O3 -I. -I../include -c
-+CFLAGS=${PCFLAGS} ${DEBUG} ${DEFINES} -Wall -O3 -I. -I../include -c
- LIBEXEC=@LIBBIN@
-
- all: ${OBJS}
diff --git a/devel/libcache/pkg-plist b/devel/libcache/pkg-plist
index 983a0eb3a218..d0333ce36bea 100644
--- a/devel/libcache/pkg-plist
+++ b/devel/libcache/pkg-plist
@@ -1,2 +1,3 @@
-lib/libcache.so.%%VERSION%%
+lib/libcache.a
lib/libcache.so
+lib/libcache.so.0