diff options
Diffstat (limited to 'misc/libpri2')
-rw-r--r-- | misc/libpri2/Makefile | 29 | ||||
-rw-r--r-- | misc/libpri2/distinfo | 2 | ||||
-rw-r--r-- | misc/libpri2/files/patch-Makefile | 65 | ||||
-rw-r--r-- | misc/libpri2/files/patch-pri_q921.h | 13 | ||||
-rw-r--r-- | misc/libpri2/pkg-descr | 4 | ||||
-rw-r--r-- | misc/libpri2/pkg-plist | 4 |
6 files changed, 0 insertions, 117 deletions
diff --git a/misc/libpri2/Makefile b/misc/libpri2/Makefile deleted file mode 100644 index 2fe90909e54c..000000000000 --- a/misc/libpri2/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -# New ports collection makefile for: libpri -# Date created: 25 Oct 2004 -# Whom: Alexander Timoshenko <gonzo@univ.kiev.ua> -# -# $FreeBSD$ -# - -PORTNAME= libpri -PORTVERSION= 1.0.2 -CATEGORIES= misc -MASTER_SITES= ftp://ftp.asterisk.org/pub/libpri/ \ - ftp://ftp.asterisk.org/pub/libpri/old/ - -MAINTAINER= gonzo@univ.kiev.ua -COMMENT= A C implementation of the Primary Rate ISDN specification - -USE_GMAKE= yes -INSTALLS_SHLIB= yes - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "alpha" -BROKEN= "Does not compile on alpha" -.endif - -post-patch: - @${FIND} ${WRKSRC} -name \*.orig -or -name \*.bak -delete - -.include <bsd.port.post.mk> diff --git a/misc/libpri2/distinfo b/misc/libpri2/distinfo deleted file mode 100644 index 5ba1dbf0365f..000000000000 --- a/misc/libpri2/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (libpri-1.0.2.tar.gz) = 374c089bf3bdee3f8e2d7b315190022e -SIZE (libpri-1.0.2.tar.gz) = 55451 diff --git a/misc/libpri2/files/patch-Makefile b/misc/libpri2/files/patch-Makefile deleted file mode 100644 index 69c9ec960f8f..000000000000 --- a/misc/libpri2/files/patch-Makefile +++ /dev/null @@ -1,65 +0,0 @@ - -$FreeBSD$ - ---- Makefile.orig -+++ Makefile -@@ -33,11 +33,11 @@ - TOBJS=testpri.o - T2OBJS=testprilib.o - STATIC_LIBRARY=libpri.a --DYNAMIC_LIBRARY=libpri.so.1.0 -+DYNAMIC_LIBRARY=libpri.so.1 - STATIC_OBJS=pri.o q921.o prisched.o q931.o - DYNAMIC_OBJS=pri.lo q921.lo prisched.lo q931.lo --CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS) --INSTALL_PREFIX= -+CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes $(ALERTING) $(LIBPRI_COUNTERS) -+INSTALL_PREFIX=$(PREFIX) - ifeq (${OSARCH},Linux) - LDCONFIG_FLAGS=-n - else -@@ -62,20 +62,19 @@ - @cvs update -d - - install: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) -- mkdir -p $(INSTALL_PREFIX)/usr/lib -- mkdir -p $(INSTALL_PREFIX)/usr/include -- install -m 644 libpri.h $(INSTALL_PREFIX)/usr/include -- install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)/usr/lib -- ( cd $(INSTALL_PREFIX)/usr/lib ; ln -sf libpri.so.1 libpri.so ) -- install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)/usr/lib -- /sbin/ldconfig -+ mkdir -p $(INSTALL_PREFIX)/lib -+ mkdir -p $(INSTALL_PREFIX)/include -+ $(BSD_INSTALL_DATA) libpri.h $(INSTALL_PREFIX)/include -+ $(BSD_INSTALL_PROGRAM) $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)/lib -+ ( cd $(INSTALL_PREFIX)/lib ; ln -sf libpri.so.1 libpri.so ) -+ $(BSD_INSTALL_DATA) $(STATIC_LIBRARY) $(INSTALL_PREFIX)/lib - - uninstall: - @echo "Removing Libpri" -- rm -f $(INSTALL_PREFIX)/usr/lib/libpri.so.1.0 -- rm -f $(INSTALL_PREFIX)/usr/lib/libpri.so -- rm -f $(INSTALL_PREFIX)/usr/lib/libpri.a -- rm -f $(INSTALL_PREFIX)/usr/include/libpri.h -+ rm -f $(INSTALL_PREFIX)/lib/libpri.so.1 -+ rm -f $(INSTALL_PREFIX)/lib/libpri.so -+ rm -f $(INSTALL_PREFIX)/lib/libpri.a -+ rm -f $(INSTALL_PREFIX)/include/libpri.h - - pritest: pritest.o - $(CC) -o pritest pritest.o -L. -lpri -lzap $(CFLAGS) -@@ -100,11 +99,11 @@ - - $(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS) - $(CC) -shared -Wl,-soname,libpri.so.1 -o $@ $(DYNAMIC_OBJS) -- /sbin/ldconfig $(LDCONFIG_FLAGS) . -+ #/sbin/ldconfig $(LDCONFIG_FLAGS) . - ln -sf libpri.so.1 libpri.so - - clean: -- rm -f *.o *.so *.lo *.so.1 *.so.1.0 -+ rm -f *.o *.so *.lo *.so.1 - rm -f testpri testprilib $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) - rm -f pritest pridump - rm -f .depend diff --git a/misc/libpri2/files/patch-pri_q921.h b/misc/libpri2/files/patch-pri_q921.h deleted file mode 100644 index 8cb788d6d722..000000000000 --- a/misc/libpri2/files/patch-pri_q921.h +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naur pri_q921.h.orig pri_q921.h ---- pri_q921.h.orig 2004-10-02 17:55:20.000000000 +0300 -+++ pri_q921.h 2004-10-19 19:12:38.000000000 +0300 -@@ -30,6 +30,9 @@ - #include <endian.h> - #elif defined(__FreeBSD__) - #include <sys/endian.h> -+#define __BYTE_ORDER _BYTE_ORDER -+#define __BIG_ENDIAN _BIG_ENDIAN -+#define __LITTLE_ENDIAN _LITTLE_ENDIAN - #endif - - /* Timer values */ diff --git a/misc/libpri2/pkg-descr b/misc/libpri2/pkg-descr deleted file mode 100644 index 22991e0164ee..000000000000 --- a/misc/libpri2/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -The libpri is a C implementation of the Primary Rate ISDN specification. -It was based on the Bellcore specification SR-NWT-002343 for National -ISDN. As of May 12, 2001, it has been tested work with NI-2, Nortel DMS-100, -and Lucent 5E C ustom protocols on switches from Nortel and Lucent. diff --git a/misc/libpri2/pkg-plist b/misc/libpri2/pkg-plist deleted file mode 100644 index ccbeae646ef3..000000000000 --- a/misc/libpri2/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -include/libpri.h -lib/libpri.a -lib/libpri.so.1 -lib/libpri.so |