From owner-svn-ports-all@FreeBSD.ORG Sat Nov 2 13:59:11 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 A4954332; Sat, 2 Nov 2013 13:59:11 +0000 (UTC) (envelope-from danilo@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 914A1269C; Sat, 2 Nov 2013 13:59:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA2DxBi7095960; Sat, 2 Nov 2013 13:59:11 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA2DxBqa095959; Sat, 2 Nov 2013 13:59:11 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311021359.rA2DxBqa095959@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Sat, 2 Nov 2013 13:59:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332484 - head/games/jzip 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: Sat, 02 Nov 2013 13:59:11 -0000 Author: danilo Date: Sat Nov 2 13:59:11 2013 New Revision: 332484 URL: http://svnweb.freebsd.org/changeset/ports/332484 Log: - Add stage support - Add DOCS options Modified: head/games/jzip/Makefile Modified: head/games/jzip/Makefile ============================================================================== --- head/games/jzip/Makefile Sat Nov 2 13:58:52 2013 (r332483) +++ head/games/jzip/Makefile Sat Nov 2 13:59:11 2013 (r332484) @@ -16,12 +16,10 @@ USE_ZIP= yes CPPFLAGS+= -DPOSIX -DHAVE_GETOPT -MAN1= jzip.1 PORTDOCS= Jzip.doc -PLIST_FILES= bin/jzip +PLIST_FILES= bin/jzip man/man1/jzip.1.gz -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ @@ -34,11 +32,9 @@ post-patch: 's|^void main|int main|' ${WRKSRC}/jzexe.c do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} jzip ${PREFIX}/bin) - (cd ${WRKSRC} && ${INSTALL_DATA} jzip.1 ${MANPREFIX}/man/man1) -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} Jzip.doc ${DOCSDIR}) -.endif + (cd ${WRKSRC} && ${INSTALL_PROGRAM} jzip ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC} && ${INSTALL_DATA} jzip.1 ${STAGEDIR}${MANPREFIX}/man/man1) + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} Jzip.doc ${STAGEDIR}${DOCSDIR}) .include