summaryrefslogtreecommitdiff
path: root/textproc/pcrs
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/pcrs')
-rw-r--r--textproc/pcrs/Makefile37
-rw-r--r--textproc/pcrs/distinfo2
-rw-r--r--textproc/pcrs/files/patch-Makefile.in56
-rw-r--r--textproc/pcrs/files/patch-configure49
-rw-r--r--textproc/pcrs/pkg-descr3
5 files changed, 0 insertions, 147 deletions
diff --git a/textproc/pcrs/Makefile b/textproc/pcrs/Makefile
deleted file mode 100644
index 5e2f8163a5b8..000000000000
--- a/textproc/pcrs/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# Created by: Ken Wong <wongk@apt.homeunix.net>
-# $FreeBSD$
-
-PORTNAME= pcrs
-PORTVERSION= 0.0.3
-PORTREVISION= 3
-CATEGORIES= textproc
-MASTER_SITES= http://distfiles.master.finkmirrors.net/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
-
-MAINTAINER= wongk@apt.homeunix.net
-COMMENT= Perl-compatible regular expression based substitutions
-
-BROKEN= unfetchable
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2020-05-05
-
-LICENSE= LGPL21
-
-LIB_DEPENDS= libpcre.so:devel/pcre
-
-USES= gmake
-GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-PLIST_FILES= bin/pcrsed \
- lib/libpcrs.a \
- lib/libpcrs.so \
- lib/libpcrs.so.0 \
- man/man3/pcrs.3.gz
-
-post-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/pcrsed ${STAGEDIR}${PREFIX}/bin
-
-.include <bsd.port.mk>
diff --git a/textproc/pcrs/distinfo b/textproc/pcrs/distinfo
deleted file mode 100644
index 6bda09e2a2ac..000000000000
--- a/textproc/pcrs/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (pcrs-0.0.3-src.tar.gz) = 3f4780786f30d20983d7bbfcc83edbfd4bf1a2b65ec50f136defb28337d9da1a
-SIZE (pcrs-0.0.3-src.tar.gz) = 32296
diff --git a/textproc/pcrs/files/patch-Makefile.in b/textproc/pcrs/files/patch-Makefile.in
deleted file mode 100644
index 7fe08000c319..000000000000
--- a/textproc/pcrs/files/patch-Makefile.in
+++ /dev/null
@@ -1,56 +0,0 @@
---- Makefile.in.orig 2002-03-11 05:56:16.000000000 +0800
-+++ Makefile.in 2014-06-30 23:39:01.951429627 +0800
-@@ -19,6 +19,7 @@ exec_prefix = @exec_prefix@
-
- BINDIR = @bindir@
- LIBDIR = @libdir@
-+INCLUDEDIR = @includedir@
- MANDIR = @mandir@/man3
-
-
-@@ -47,6 +48,7 @@ LIBS = @LIBS@
- #############################################################################
-
- CFLAGS = @CFLAGS@ -Wall -Wstrict-prototypes -Wshadow -Wconversion -pedantic \
-+ -I$(INCLUDEDIR) -L$(LIBDIR) \
- @PARANOID_FU@ -Wunreachable-code -Wmissing-prototypes \
- -Waggregate-return -W -Wfloat-equal -Wsign-compare \
- -Wwrite-strings
-@@ -66,29 +68,25 @@ pcrsed@EXEEXT@: pcrs.@OBJEXT@
- $(CC) $(CFLAGS) pcrsed.c pcrs.@OBJEXT@ -o pcrsed@EXEEXT@ $(LIBS)
-
- shared: pcrs.@OBJEXT@
-- $(CC) $(CLFLAGS) $(LDFLAGS) $(LIBFLAGS) -Wl,-soname,libpcrs.so.$(VERSION_MAJOR) -o libpcrs.so.$(VERSION) pcrs.@OBJEXT@ $(LIBS)
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(LIBFLAGS) -Wl,-soname,libpcrs.so.$(VERSION_MAJOR) -o libpcrs.so.$(VERSION_MAJOR) pcrs.@OBJEXT@ $(LIBS)
-
--static:
-+static: pcrs.@OBJEXT@
- $(AR) libpcrs.a pcrs.@OBJEXT@
-
- install: all
-- $(INSTALL) -m 755 libpcrs.so.$(VERSION) $(LIBDIR)
-- $(LN_S) -f libpcrs.so.$(VERSION) $(LIBDIR)/libpcrs.so
-- $(INSTALL) -m 644 libpcrs.a $(LIBDIR)
-- $(INSTALL) -m 644 pcrs.3 $(MANDIR)
--
-- if test "$(HAVE_GZIP)" = "yes"; then \
-- gzip -f $(MANDIR)/pcrs.3; \
-- fi
-+ $(INSTALL) -m 755 libpcrs.so.$(VERSION_MAJOR) $(DESTDIR)$(prefix)/lib
-+ $(LN_S) -f libpcrs.so.$(VERSION_MAJOR) $(DESTDIR)$(prefix)/lib/libpcrs.so
-+ $(INSTALL) -m 644 libpcrs.a $(DESTDIR)$(prefix)/lib
-+ $(INSTALL) -m 644 pcrs.3 $(DESTDIR)$(MANDIR)
-
- @echo -e " ***************************************************\n" \
-- "** Libraries have been installed in $(LIBDIR). \n" \
-+ "** Libraries have been installed in $(prefix)/lib. \n" \
- "** Don't forget to run ldconfig. \n" \
- "***************************************************"
-
- @if test -f pcrsed@EXEEXT@; then\
- echo -e "\nRebuilding pcrsed to use the installed shared library"; \
-- $(CC) $(CFLAGS) -L$(LIBDIR) pcrsed.c -o pcrsed@EXEEXT@ $(LIBS) -lpcrs; \
-+ $(CC) $(CFLAGS) -L$(DESTDIR)$(prefix)/lib pcrsed.c -o pcrsed@EXEEXT@ $(LIBS) -lpcrs; \
- fi
-
- clean:
diff --git a/textproc/pcrs/files/patch-configure b/textproc/pcrs/files/patch-configure
deleted file mode 100644
index aa833da51366..000000000000
--- a/textproc/pcrs/files/patch-configure
+++ /dev/null
@@ -1,49 +0,0 @@
---- configure.orig Tue Dec 2 10:45:42 2003
-+++ configure Sat Nov 26 02:57:22 2005
-@@ -19,12 +19,12 @@
- # dashes changed to underlines.
- build=NONE
- cache_file=./config.cache
--exec_prefix=NONE
-+exec_prefix=/usr/local
- host=NONE
- no_create=
- nonopt=NONE
- no_recursion=
--prefix=NONE
-+prefix=/usr/local
- program_prefix=NONE
- program_suffix=NONE
- program_transform_name=s,x,x,
-@@ -42,8 +42,8 @@
- sysconfdir='${prefix}/etc'
- sharedstatedir='${prefix}/com'
- localstatedir='${prefix}/var'
--libdir='${exec_prefix}/lib'
--includedir='${prefix}/include'
-+libdir="${exec_prefix}/lib"
-+includedir="${prefix}/include"
- oldincludedir='/usr/include'
- infodir='${prefix}/info'
- mandir='${prefix}/man'
-@@ -685,9 +685,9 @@
- rm -fr conftest*
- ac_ext=c
- # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
--ac_cpp='$CPP $CPPFLAGS'
-+ac_cpp='$CPP -I${includedir} -L${libdir} $CPPFLAGS'
- ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
--ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-+ac_link='${CC-cc} -I${includedir} -L${libdir} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
- cross_compiling=$ac_cv_prog_cc_cross
-
- echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
-@@ -1256,7 +1256,7 @@
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- { (eval echo configure:1259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
--ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$" | grep -v warning:`
- if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
diff --git a/textproc/pcrs/pkg-descr b/textproc/pcrs/pkg-descr
deleted file mode 100644
index 1c6eee5e79d0..000000000000
--- a/textproc/pcrs/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-PCRS is a small library, written as a supplement to the PCRE library,
-that implements regex based substitution with the syntax and semantics
-of Perl's s/// operator.