From owner-svn-ports-all@FreeBSD.ORG Mon Oct 28 13:26:36 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0057620B; Mon, 28 Oct 2013 13:26:35 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) 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 C80672ED4; Mon, 28 Oct 2013 13:26:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9SDQZub065779; Mon, 28 Oct 2013 13:26:35 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9SDQZEw065778; Mon, 28 Oct 2013 13:26:35 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201310281326.r9SDQZEw065778@svn.freebsd.org> From: Emanuel Haupt Date: Mon, 28 Oct 2013 13:26:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331852 - head/archivers/unzip X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 13:26:36 -0000 Author: ehaupt Date: Mon Oct 28 13:26:35 2013 New Revision: 331852 URL: http://svnweb.freebsd.org/changeset/ports/331852 Log: Support staging. Modified: head/archivers/unzip/Makefile Modified: head/archivers/unzip/Makefile ============================================================================== --- head/archivers/unzip/Makefile Mon Oct 28 13:08:14 2013 (r331851) +++ head/archivers/unzip/Makefile Mon Oct 28 13:26:35 2013 (r331852) @@ -20,7 +20,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE CONFLICTS?= unzip-iconv-[0-9]* zh-unzip-[0-9]* ko-unzip-[0-9]* ru-unzip-[0-9]* -NO_STAGE= yes MAKEFILE= unix/Makefile MAKE_ARGS= LF2="${STRIP}" .if defined(INSTALL_AS_INFOUNZIP) @@ -67,6 +66,10 @@ ALL_TARGET= freebsd ALL_TARGET= bsd .endif +.for m in ${MAN1} +PLIST_FILES+= man/man1/${m}.gz +.endfor + .if !defined(INSTALL_AS_INFOUNZIP) pre-fetch: @${ECHO} "" @@ -84,20 +87,20 @@ pre-build: .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/unzip ${PREFIX}/bin/${UNZIP_NAME} + ${INSTALL_PROGRAM} ${WRKSRC}/unzip ${STAGEDIR}${PREFIX}/bin/${UNZIP_NAME} .for file in funzip unzipsfx - ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin .endfor - ${LN} -sf ${UNZIP_NAME} ${PREFIX}/bin/zipinfo - ${INSTALL_SCRIPT} ${WRKSRC}/unix/zipgrep ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/unzip.1 ${MAN1PREFIX}/man/man1/${UNZIP_NAME}.1 + ${LN} -sf ${UNZIP_NAME} ${STAGEDIR}${PREFIX}/bin/zipinfo + ${INSTALL_SCRIPT} ${WRKSRC}/unix/zipgrep ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/unzip.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/${UNZIP_NAME}.1 .for f in ${MAN1:Nunzip.1:Ninfo-unzip.1} - ${INSTALL_MAN} ${WRKSRC}/man/${f} ${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/man/${f} ${STAGEDIR}${MAN1PREFIX}/man/man1 .endfor .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .endif