Date: Mon, 17 Dec 2012 17:09:59 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309112 - head/devel/gengetopt Message-ID: <201212171709.qBHH9xoL028999@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Mon Dec 17 17:09:59 2012 New Revision: 309112 URL: http://svnweb.freebsd.org/changeset/ports/309112 Log: - Update to 2.22.6 - Take maintainership PR: ports/173518 Submitted by: nemysis <nemysis@gmx.ch> Modified: head/devel/gengetopt/Makefile head/devel/gengetopt/distinfo Modified: head/devel/gengetopt/Makefile ============================================================================== --- head/devel/gengetopt/Makefile Mon Dec 17 16:32:27 2012 (r309111) +++ head/devel/gengetopt/Makefile Mon Dec 17 17:09:59 2012 (r309112) @@ -1,18 +1,13 @@ -# ex:ts=8 -# New ports collection makefile for: gengetopt -# Date created: 12 October 2000 -# Whom: Cyrille Lefevre <clefevre@citeweb.net> -# +# Created by: Cyrille Lefevre <clefevre@citeweb.net> # $FreeBSD$ -# PORTNAME= gengetopt -PORTVERSION= 2.22.5 +PORTVERSION= 2.22.6 CATEGORIES= devel MASTER_SITES= GNU -MAINTAINER= ports@FreeBSD.org -COMMENT= A tool for generating a C function which parses command line arguments +MAINTAINER= nemysis@gmx.ch +COMMENT= Tool for generating a C function which parses command line arguments LICENSE= GPLv3 @@ -22,45 +17,52 @@ USE_GMAKE= yes GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE=yes -CFLAGS= -D_GL_SYSTEM_GETOPT +CFLAGS+= -D_GL_SYSTEM_GETOPT MAN1= gengetopt.1 INFO= gengetopt -PORTDOCS= ${ROOT_DOCS} ${DOC_DOCS} -PORTEXAMPLES= ${DOC_EXAMPLES} ${TESTS_EXAMPLES} + PLIST_FILES= bin/gengetopt %%DATADIR%%/getopt.c %%DATADIR%%/getopt1.c \ %%DATADIR%%/gnugetopt.h + PLIST_DIRS= %%DATADIR%% -ROOT_DOCS= AUTHORS ChangeLog LICENSE NEWS README THANKS TODO -DOC_DOCS= index.html gengetopt.html +PORTDOCS= * +PORTEXAMPLES= * + +DOCSRCDIR1= ${WRKSRC} +DOC_FILES1= AUTHORS ChangeLog NEWS README THANKS TODO + +DOCSRCDIR2= ${WRKSRC}/doc +DOCSDIR2= ${DOCSDIR}/doc +DOC_FILES2= index.html gengetopt.html + DOC_EXAMPLES= README.example cmdline1.c cmdline1.h cmdline2.c cmdline2.h \ - main1.cc main2.c sample1.ggo sample2.ggo + main1.cc main2.c multiple_example.c sample1.ggo sample2.ggo TESTS_EXAMPLES= test_manual_help.c test_manual_help_cmd.c \ test_manual_help_cmd.ggo test_manual_help_cmd.h -pre-install: - @${CHMOD} +x ${WRKSRC}/build-aux/install-sh +.include <bsd.port.options.mk> post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/gengetopt.1 ${MANPREFIX}/man/man1 - ${INSTALL_DATA} ${WRKSRC}/doc/gengetopt.info ${PREFIX}/${INFO_PATH} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in ${ROOT_DOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor -.for file in ${DOC_DOCS} - ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} -.endfor + ${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 -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} -.for file in ${DOC_EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${EXAMPLESDIR} + +.if ${PORT_OPTIONS:MEXAMPLES} + ${MKDIR} ${EXAMPLESDIR} +.for e in ${DOC_EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/doc/${e} ${EXAMPLESDIR} .endfor -.for file in ${TESTS_EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/tests/${file} ${EXAMPLESDIR} +.for e in ${TESTS_EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/tests/${e} ${EXAMPLESDIR} .endfor .endif Modified: head/devel/gengetopt/distinfo ============================================================================== --- head/devel/gengetopt/distinfo Mon Dec 17 16:32:27 2012 (r309111) +++ head/devel/gengetopt/distinfo Mon Dec 17 17:09:59 2012 (r309112) @@ -1,2 +1,2 @@ -SHA256 (gengetopt-2.22.5.tar.gz) = 3b6fb3240352b0eb0c5b8583b58b62cbba58167cef5a7e82fa08a7f968ed2137 -SIZE (gengetopt-2.22.5.tar.gz) = 1030950 +SHA256 (gengetopt-2.22.6.tar.gz) = 30b05a88604d71ef2a42a2ef26cd26df242b41f5b011ad03083143a31d9b01f7 +SIZE (gengetopt-2.22.6.tar.gz) = 1056293
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212171709.qBHH9xoL028999>