From owner-svn-ports-head@FreeBSD.ORG Tue Dec 24 14:42:36 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8865C909; Tue, 24 Dec 2013 14:42:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7413315FD; Tue, 24 Dec 2013 14:42:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBOEgaGq027490; Tue, 24 Dec 2013 14:42:36 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBOEgZ3a027483; Tue, 24 Dec 2013 14:42:35 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201312241442.rBOEgZ3a027483@svn.freebsd.org> From: Pawel Pekala Date: Tue, 24 Dec 2013 14:42:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337357 - in head/textproc/humanzip: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Dec 2013 14:42:36 -0000 Author: pawel Date: Tue Dec 24 14:42:35 2013 New Revision: 337357 URL: http://svnweb.freebsd.org/changeset/ports/337357 Log: - Fix biuld with clang - Add LICENSE - Support staging PR: ports/184904 Submitted by: KATO Tsuguru Added: head/textproc/humanzip/files/ head/textproc/humanzip/files/patch-humanunzip.cpp (contents, props changed) head/textproc/humanzip/files/patch-humanzip.cpp (contents, props changed) Modified: head/textproc/humanzip/Makefile (contents, props changed) head/textproc/humanzip/pkg-descr (contents, props changed) Modified: head/textproc/humanzip/Makefile ============================================================================== --- head/textproc/humanzip/Makefile Tue Dec 24 14:23:21 2013 (r337356) +++ head/textproc/humanzip/Makefile Tue Dec 24 14:42:35 2013 (r337357) @@ -9,22 +9,27 @@ MASTER_SITES= SAVANNAH CENKES MAINTAINER= ports@FreeBSD.org COMMENT= Compresses text to human readable output -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -e 's|g++|${CXX}|;s|-O2|${CFLAGS}|' \ - ${WRKSRC}/${MAKEFILE} +LICENSE= GPLv2 # (or later) -MAN1= ${PORTNAME}.1 -MLINKS= ${PORTNAME}.1 humanunzip.1 -PLIST_FILES= bin/${PORTNAME} bin/humanunzip PORTDOCS= CHANGELOG README TODO +PLIST_FILES= bin/humanunzip bin/humanzip \ + man/man1/humanunzip.1.gz man/man1/humanzip.1.gz + +post-patch: + @${REINPLACE_CMD} -e \ + 's|g++|$${CXX}| ; \ + s|-O2|$${CFLAGS}|' ${WRKSRC}/${MAKEFILE} do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/human*zip ${PREFIX}/bin/ - @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/ -.ifndef NOPORTDOCS - @${INSTALL} -d ${DOCSDIR}/ - @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ -.endif +.for i in humanzip humanunzip + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin) +.endfor + (cd ${WRKSRC} && ${INSTALL_MAN} humanzip.1 \ + ${STAGEDIR}${MAN1PREFIX}/man/man1) + ${LN} -sf humanzip.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/humanunzip.1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for i in ${PORTDOCS} + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) +.endfor .include Added: head/textproc/humanzip/files/patch-humanunzip.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/humanzip/files/patch-humanunzip.cpp Tue Dec 24 14:42:35 2013 (r337357) @@ -0,0 +1,10 @@ +--- humanunzip.cpp.orig ++++ humanunzip.cpp +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + #include + #include "humanzip.h" + Added: head/textproc/humanzip/files/patch-humanzip.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/humanzip/files/patch-humanzip.cpp Tue Dec 24 14:42:35 2013 (r337357) @@ -0,0 +1,9 @@ +--- humanzip.cpp.orig ++++ humanzip.cpp +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include + #include "humanzip.h" Modified: head/textproc/humanzip/pkg-descr ============================================================================== --- head/textproc/humanzip/pkg-descr Tue Dec 24 14:23:21 2013 (r337356) +++ head/textproc/humanzip/pkg-descr Tue Dec 24 14:42:35 2013 (r337357) @@ -9,5 +9,4 @@ print size of documents. Humanzip does size of the file as measured in bytes, although this usually happens incidentally. -Author: Matthew Strait WWW: http://savannah.nongnu.org/projects/humanzip/