From owner-svn-ports-head@FreeBSD.ORG Fri Dec 20 18:49:52 2013 Return-Path: Delivered-To: svn-ports-head@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 ESMTPS id 7E9939BF; Fri, 20 Dec 2013 18:49:52 +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 5EB6C1FA1; Fri, 20 Dec 2013 18:49:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBKInq1t085512; Fri, 20 Dec 2013 18:49:52 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBKInqPb085507; Fri, 20 Dec 2013 18:49:52 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201312201849.rBKInqPb085507@svn.freebsd.org> From: Rusmir Dusko Date: Fri, 20 Dec 2013 18:49:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337071 - head/devel/gengetopt 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: Fri, 20 Dec 2013 18:49:52 -0000 Author: nemysis Date: Fri Dec 20 18:49:51 2013 New Revision: 337071 URL: http://svnweb.freebsd.org/changeset/ports/337071 Log: - Bump PORTREVISION - USES gmake instead of USE_GMAKE - Use pkg-plist instead of PLIST_FILES and PLIST_DIRS - Support STAGEDIR - Break lines around 80 characters Approved by: pawel / wg (mentors, implicit) Added: head/devel/gengetopt/pkg-plist (contents, props changed) Modified: head/devel/gengetopt/Makefile (contents, props changed) Modified: head/devel/gengetopt/Makefile ============================================================================== --- head/devel/gengetopt/Makefile Fri Dec 20 18:47:52 2013 (r337070) +++ head/devel/gengetopt/Makefile Fri Dec 20 18:49:51 2013 (r337071) @@ -3,6 +3,7 @@ PORTNAME= gengetopt PORTVERSION= 2.22.6 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GNU @@ -13,20 +14,12 @@ LICENSE= GPLv3 INSTALL_WRKSRC= ${WRKSRC}/src -USE_GMAKE= yes +USES= gmake GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE=yes CFLAGS+= -D_GL_SYSTEM_GETOPT -MAN1= gengetopt.1 -INFO= gengetopt - -PLIST_FILES= bin/gengetopt %%DATADIR%%/getopt.c %%DATADIR%%/getopt1.c \ - %%DATADIR%%/gnugetopt.h - -PLIST_DIRS= %%DATADIR%% - PORTDOCS= * PORTEXAMPLES= * @@ -42,29 +35,26 @@ DOC_EXAMPLES= README.example cmdline1.c TESTS_EXAMPLES= test_manual_help.c test_manual_help_cmd.c \ test_manual_help_cmd.ggo test_manual_help_cmd.h -NO_STAGE= yes .include post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1 - ${MKDIR} ${PREFIX}/${INFO_PATH} - ${INSTALL_DATA} ${WRKSRC}/doc/${INFO}.info ${PREFIX}/${INFO_PATH} - -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} - ${MKDIR} ${DOCSDIR2} - ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} -.endif + ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ + ${STAGEDIR}${MAN1PREFIX}/man/man1/ + @${MKDIR} ${STAGEDIR}${PREFIX}/${INFO_PATH} + ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.info \ + ${STAGEDIR}${PREFIX}/${INFO_PATH} + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR2} + ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for e in ${DOC_EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/doc/${e} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/${e} ${STAGEDIR}${EXAMPLESDIR} .endfor .for e in ${TESTS_EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/tests/${e} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/tests/${e} ${STAGEDIR}${EXAMPLESDIR} .endfor -.endif .include Added: head/devel/gengetopt/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/gengetopt/pkg-plist Fri Dec 20 18:49:51 2013 (r337071) @@ -0,0 +1,7 @@ +bin/gengetopt +info/gengetopt.info +man/man1/gengetopt.1.gz +%%DATADIR%%/getopt.c +%%DATADIR%%/getopt1.c +%%DATADIR%%/gnugetopt.h +@dirrm %%DATADIR%%