Date: Wed, 14 Mar 2012 02:20:46 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/166024: Update port: devel/rudiments to 0.35 Message-ID: <20120314022046.bff9ecbc.tkato432@yahoo.com> Resent-Message-ID: <201203131810.q2DIA4Ks054686@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 166024 >Category: ports >Synopsis: Update port: devel/rudiments to 0.35 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 13 18:10:04 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p5 i386 >Organization: >Environment: >Description: - Update to version 0.35 >How-To-Repeat: >Fix: diff -urN /usr/ports/devel/rudiments/Makefile devel/rudiments/Makefile --- /usr/ports/devel/rudiments/Makefile 2011-11-15 02:09:13.000000000 +0900 +++ devel/rudiments/Makefile 2012-02-14 22:58:05.000000000 +0900 @@ -6,13 +6,15 @@ # PORTNAME= rudiments -PORTVERSION= 0.34 +PORTVERSION= 0.35 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= A utility C++ class library for daemons, clients, servers and more +LICENSE= LGPL20 + USE_GNOME= pkgconfig USE_OPENSSL= yes USE_GMAKE= yes @@ -23,34 +25,28 @@ --with-ssl-libs=-L${OPENSSLLIB} \ --disable-pcre USE_LDCONFIG= yes +MAKE_JOBS_SAFE= yes MAN1= rudiments-config.1 -ROOTDIRS= classes css programming programming/parts - post-patch: - ${REINPLACE_CMD} -e 's,/usr/bin/perl,${PREFIX}/bin/perl,g' \ - ${WRKSRC}/doc/programming/insert.pl + @${REINPLACE_CMD} -e \ + '/pkgconfig/s|$$(libdir)/|$$(prefix)/libdata/| ; \ + /^install:/s| install-doc | |' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e \ + 's|^#!/usr/bin/perl|#!${PERL}|' ${WRKSRC}/doc/programming/insert.pl + @${REINPLACE_CMD} -e \ + 's| -release $$(RUDIMENTS_VERSION)||' ${WRKSRC}/src/Makefile + post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for dirs in ${ROOTDIRS} - @${MKDIR} ${DOCSDIR}/${dirs} -.endfor - @${INSTALL_DATA} ${WRKSRC}/doc/classes/*.html \ - ${DOCSDIR}/classes - @${INSTALL_DATA} ${WRKSRC}/doc/css/*.css \ - ${DOCSDIR}/css - @${INSTALL_DATA} ${WRKSRC}/doc/programming/*.html \ - ${DOCSDIR}/programming - @${INSTALL_SCRIPT} ${WRKSRC}/doc/programming/*.pl \ - ${DOCSDIR}/programming - @${INSTALL_DATA} ${WRKSRC}/doc/programming/parts/*.html \ - ${DOCSDIR}/programming/parts - @${INSTALL_DATA} ${WRKSRC}/doc/*.html \ - ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/doc/*.gif \ - ${DOCSDIR} + @${MKDIR} ${DOCSDIR} + @(${TAR} -C ${WRKSRC}/doc --exclude CVS --exclude "Makefile" \ + --exclude "*.bak" --exclude "*.in" -cf - . | \ + ${TAR} -C ${DOCSDIR} --unlink -xf -) + @${FIND} ${DOCSDIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP} + @${FIND} ${DOCSDIR} -type d | ${XARGS} ${CHMOD} a+rx + @${FIND} ${DOCSDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} .endif .include <bsd.port.mk> diff -urN /usr/ports/devel/rudiments/distinfo devel/rudiments/distinfo --- /usr/ports/devel/rudiments/distinfo 2011-11-15 02:09:13.000000000 +0900 +++ devel/rudiments/distinfo 2012-02-14 06:04:58.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (rudiments-0.34.tar.gz) = a0e43bc961a7bbba08560393311076e0293627908de487302db454b273c159df -SIZE (rudiments-0.34.tar.gz) = 770725 +SHA256 (rudiments-0.35.tar.gz) = ccf177734314c7a01a0fb22786bb0aafc9887a7127f78d9698fedf0a493baa30 +SIZE (rudiments-0.35.tar.gz) = 770791 diff -urN /usr/ports/devel/rudiments/files/patch-Makefile devel/rudiments/files/patch-Makefile --- /usr/ports/devel/rudiments/files/patch-Makefile 2011-11-15 02:09:14.000000000 +0900 +++ devel/rudiments/files/patch-Makefile 1970-01-01 09:00:00.000000000 +0900 @@ -1,38 +0,0 @@ ---- Makefile.orig 2011-04-22 05:20:05.000000000 +0200 -+++ Makefile 2011-11-09 06:21:19.309527011 +0100 -@@ -5,7 +5,7 @@ - PWD=$(shell pwd) - - .PHONY: all testprogs clean install-libs install-includes install-bin \ -- install-doc install-man install-pc install uninstall unconfig distclean -+ install-man install-pc install uninstall unconfig distclean - - all: - cd src; $(MAKE) all -@@ -27,23 +27,19 @@ - install-bin: - cd bin; $(MAKE) install - --install-doc: -- cd doc; $(MAKE) install -- - install-man: - cd man; $(MAKE) install - - install-pc: -- $(MKINSTALLDIRS) $(libdir)/pkgconfig -- $(INSTALL) -m 0644 rudiments.pc $(libdir)/pkgconfig/rudiments.pc -+ $(MKINSTALLDIRS) $(prefix)/libdata/pkgconfig -+ $(INSTALL) -m 0644 rudiments.pc $(prefix)/libdata/pkgconfig/rudiments.pc - --install: install-libs install-includes install-bin install-doc install-man install-pc -+install: install-libs install-includes install-bin install-man install-pc - - uninstall: - cd src; $(MAKE) uninstall - cd include; $(MAKE) uninstall - cd bin; $(MAKE) uninstall -- cd doc; $(MAKE) uninstall - cd man; $(MAKE) uninstall - $(RM) $(libdir)/pkgconfig/rudiments.pc - diff -urN /usr/ports/devel/rudiments/files/patch-configure devel/rudiments/files/patch-configure --- /usr/ports/devel/rudiments/files/patch-configure 2006-12-01 20:45:28.000000000 +0900 +++ devel/rudiments/files/patch-configure 2012-02-14 22:40:07.000000000 +0900 @@ -1,6 +1,6 @@ ---- configure.orig Mon Aug 9 03:23:18 2004 -+++ configure Thu Aug 26 16:17:40 2004 -@@ -19632,8 +19632,8 @@ +--- configure.orig 2011-12-25 13:46:41.000000000 +0900 ++++ configure 2012-02-14 22:39:36.000000000 +0900 +@@ -15737,8 +15737,8 @@ then HAVE_PTHREAD="" @@ -11,7 +11,16 @@ if ( test "$cross_compiling" = "yes" ) then -@@ -19667,9 +19667,6 @@ +@@ -15757,7 +15757,7 @@ + + else + +- for i in "pthread" "c_r" "thread" ++ for i in "thread" + do + + +@@ -15774,9 +15774,6 @@ STATIC="" HEADERSANDLIBSPATH="" @@ -21,9 +30,9 @@ eval "PTHREADSTATIC=\"\"" if ( test -n "" ) then -@@ -20293,9 +20290,6 @@ - INCLUDESTRING=`echo $INCLUDESTRING | sed -e "s|-I/usr/include$||g" -e "s|-I/usr/include ||g"` +@@ -16244,9 +16241,6 @@ LIBSTRING=`echo $LIBSTRING | sed -e "s|-L/usr/lib$||g" -e "s|-L/lib$||g" -e "s|-L/usr/lib ||g" -e "s|-L/lib ||g"` + LIBSTRING=`echo $LIBSTRING | sed -e "s|-L/usr/lib64$||g" -e "s|-L/lib64$||g" -e "s|-L/usr/lib64 ||g" -e "s|-L/lib64 ||g"` -eval "PTHREADINCLUDES=\"$INCLUDESTRING\"" -eval "PTHREADLIB=\"$LIBSTRING\"" @@ -31,6 +40,3 @@ eval "PTHREADSTATIC=\"$STATIC\"" if ( test -n "" ) then - - - diff -urN /usr/ports/devel/rudiments/files/patch-src-Makefile devel/rudiments/files/patch-src-Makefile --- /usr/ports/devel/rudiments/files/patch-src-Makefile 2011-11-15 02:09:14.000000000 +0900 +++ devel/rudiments/files/patch-src-Makefile 1970-01-01 09:00:00.000000000 +0900 @@ -1,11 +0,0 @@ ---- src/Makefile.orig 2011-07-29 12:54:42.000000000 +0200 -+++ src/Makefile 2011-11-08 20:33:40.121527699 +0100 -@@ -341,7 +341,7 @@ - $(RMTREE) .libs - - librudiments.la: $(SRCS) $(LOBJS) -- $(LIBTOOL) --mode=link $(CXX) -o $@ $(LOBJS) $(LDFLAGS) $(SOCKETLIBS) $(PTHREADLIB) $(SSLLIBS) $(PCRELIBS) $(NANOSLEEPLIB) $(CLOCKNANOSLEEPLIB) $(SHMOPENLIB) $(CRYPTLIB) $(INETATONLIB) $(NETAPI32LIB) $(DLLIB) -rpath $(libdir) -release $(RUDIMENTS_VERSION) -version-info $(SONAME_VERSION_INFO) -no-undefined -+ $(LIBTOOL) --mode=link $(CXX) -o $@ $(LOBJS) $(LDFLAGS) $(SOCKETLIBS) $(PTHREADLIB) $(SSLLIBS) $(PCRELIBS) $(NANOSLEEPLIB) $(CLOCKNANOSLEEPLIB) $(SHMOPENLIB) $(CRYPTLIB) $(INETATONLIB) $(NETAPI32LIB) $(DLLIB) -rpath $(libdir) -version-info $(SONAME_VERSION_INFO) -no-undefined - - install: - $(MKINSTALLDIRS) $(libdir) diff -urN /usr/ports/devel/rudiments/pkg-plist devel/rudiments/pkg-plist --- /usr/ports/devel/rudiments/pkg-plist 2011-11-15 02:09:14.000000000 +0900 +++ devel/rudiments/pkg-plist 2012-02-14 23:00:22.000000000 +0900 @@ -140,8 +140,8 @@ include/rudiments/private/serversocketincludes.h include/rudiments/private/serviceentry.h include/rudiments/private/serviceentryincludes.h -include/rudiments/private/shadowentryincludes.h include/rudiments/private/shadowentry.h +include/rudiments/private/shadowentryincludes.h include/rudiments/private/sharedmemory.h include/rudiments/private/sharedmemoryincludes.h include/rudiments/private/shmfile.h @@ -287,6 +287,7 @@ %%PORTDOCS%%%%DOCSDIR%%/invisible.gif %%PORTDOCS%%%%DOCSDIR%%/programming/baseclasses.html %%PORTDOCS%%%%DOCSDIR%%/programming/insert.pl +%%PORTDOCS%%%%DOCSDIR%%/programming/utilclasses.html %%PORTDOCS%%%%DOCSDIR%%/programming/parts/character.C.html %%PORTDOCS%%%%DOCSDIR%%/programming/parts/charstring.C.html %%PORTDOCS%%%%DOCSDIR%%/programming/parts/chat.C.html @@ -356,12 +357,11 @@ %%PORTDOCS%%%%DOCSDIR%%/programming/parts/xattr.C.html %%PORTDOCS%%%%DOCSDIR%%/programming/parts/xmld.C.html %%PORTDOCS%%%%DOCSDIR%%/programming/parts/xmls.C.html -%%PORTDOCS%%%%DOCSDIR%%/programming/utilclasses.html %%PORTDOCS%%%%DOCSDIR%%/reference.html -@dirrm include/rudiments/private -@dirrm include/rudiments %%PORTDOCS%%@dirrm %%DOCSDIR%%/programming/parts %%PORTDOCS%%@dirrm %%DOCSDIR%%/programming %%PORTDOCS%%@dirrm %%DOCSDIR%%/css %%PORTDOCS%%@dirrm %%DOCSDIR%%/classes %%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm include/rudiments/private +@dirrm include/rudiments >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120314022046.bff9ecbc.tkato432>