- Update to 2.22.6
- Take maintainership PR: ports/173518 Submitted by: nemysis <nemysis@gmx.ch>
This commit is contained in:
parent
2e49ed2685
commit
2a306c7fa8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309112
2 changed files with 37 additions and 35 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue