FreeBSD Bugzilla – Attachment 153333 Details for
Bug 196450
devel/clig: Take MAINTAINER'ship, Update MASTER_SITES, WWW
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
devel/clig MASTER_SITES, MAINTAINER, WWW
2015-02-22.diff (text/plain), 7.90 KB, created by
Chris Hutchinson
on 2015-02-22 20:02:02 UTC
(
hide
)
Description:
devel/clig MASTER_SITES, MAINTAINER, WWW
Filename:
MIME Type:
Creator:
Chris Hutchinson
Created:
2015-02-22 20:02:02 UTC
Size:
7.90 KB
patch
obsolete
>Index: clig/Makefile >=================================================================== >--- clig/Makefile (revision 379624) >+++ clig/Makefile (working copy) >@@ -2,30 +2,42 @@ > # $FreeBSD$ > > PORTNAME= clig >-PORTVERSION= 1.9.11.1 >+PORTVERSION= 1.9.11.2 > PORTREVISION= 1 > CATEGORIES= devel tcl >-MASTER_SITES= http://wsd.iitb.fhg.de/~geg/clighome/ >+MASTER_SITES= http://BSDforge.com/projects/source/devel/clig/ > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= portmaster@BSDforge.com > COMMENT= Auto-generate an (argc, argv) processor, usage message, and manpage > >+LICENSE= GPLv2 >+ >+RUN_DEPENDS= tclsh:${PORTSDIR}/lang/tcl-wrapper >+ > OPTIONS_DEFINE= DOCS >+DOCS_DESC= Install documentation >+OPTIONS_DEFAULT=DOCS > > NO_BUILD= yes >-USES+= tcl >+USES+= tar:xz tcl > MAKEFILE= makefile >-MAKE_ENV+= NOPORTDOCS=${NOPORTDOCS} > WRKSRC= ${WRKDIR}/${PORTNAME} >-PORTDOCS= * >+PORTDOCS= CHANGES ANNOUNCE index.html README WISHLIST COPYING-2.0 LICENSE >+CLIGBIN= ${WRKSRC}/clig ${WRKSRC}/cligUsage >+CLIGMANN= clig_Commandline.n clig_Description.n clig_Double.n clig_Flag.n \ >+ clig_Float.n clig_Int.n clig_Long.n clig_Name.n clig_Rest.n \ >+ clig_String.n clig_Usage.n clig_Version.n clig_parseCmdline.n >+CLIGC= ${WRKSRC}/c/ > > .include <bsd.port.options.mk> > >+post-extract: >+ ${CP} ${FILESDIR}/installer ${WRKSRC}/installer >+ > post-patch: > @${RM} ${WRKSRC}/example/.cvsignore > @${FIND} -d ${WRKSRC} -type d -and -name CVS -exec ${RM} -r {} \; >- @${REINPLACE_CMD} -e 's|prefix =/usr|prefix=${STAGEDIR}${PREFIX}|; \ >- s|/usr/bin/tclsh|${TCLSH}|; \ >+ @${REINPLACE_CMD} -e 's|/usr/bin/tclsh|/usr/local/bin/tclsh|; \ > s|/doc/|/share/doc/|; \ > s|-$$(VERSION)||;' \ > ${WRKSRC}/makefile >@@ -32,4 +44,25 @@ > @${REINPLACE_CMD} -e "s|tclsh|${TCLSH}|" \ > ${WRKSRC}/man/fixman > >+post-install: >+ ${INSTALL_SCRIPT} ${CLIGBIN} ${STAGEDIR}${PREFIX}/bin/ >+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} >+ ${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/ >+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/c/ >+ ${INSTALL_DATA} ${CLIGC}* ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/c/ >+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/tcl/ >+ ${INSTALL_DATA} ${WRKSRC}/tcl/* ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/tcl/ >+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/tcllib/ >+ ${INSTALL_DATA} ${WRKSRC}/tcllib/* ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/tcllib/ >+ ${INSTALL_MAN} ${WRKSRC}/man/clig.1 ${STAGEDIR}${MANPREFIX}/man/man1 >+.for FILE in ${CLIGMANN} >+ ${INSTALL_MAN} ${WRKSRC}/man/${FILE} ${STAGEDIR}${MANPREFIX}/man/mann/${FILE} >+.endfor >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+.if ${PORT_OPTIONS:MDOCS} >+.for FILE in ${PORTDOCS} >+ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}/${FILE} >+.endfor >+.endif >+ > .include <bsd.port.mk> >Index: clig/distinfo >=================================================================== >--- clig/distinfo (revision 379624) >+++ clig/distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (clig-1.9.11.1.tar.gz) = 84cc73023a0c24072f6c8a044f159f80af659116647fc79b0b5461d9a81b20ec >-SIZE (clig-1.9.11.1.tar.gz) = 68036 >+SHA256 (clig-1.9.11.2.tar.xz) = 2cf68dc6fd27ea12326e7e80bc66d398dd83888008aa90c2d5b87a2c0b328db8 >+SIZE (clig-1.9.11.2.tar.xz) = 57588 >Index: clig/files/installer >=================================================================== >--- clig/files/installer (revision 0) >+++ clig/files/installer (working copy) >@@ -0,0 +1,18 @@ >+rm ./tcl/clig >+mv ./clig.fixed ./clig >+mv ./cligUsage.fixed ./cligUsage >+mv ./man/clig.mfixed ./man/clig.1 >+mv ./man/clig_Commandline.mfixed ./man/clig_Commandline.n >+mv ./man/clig_Description.mfixed ./man/clig_Description.n >+mv ./man/clig_Double.mfixed ./man/clig_Double.n >+mv ./man/clig_Flag.mfixed ./man/clig_Flag.n >+mv ./man/clig_Float.mfixed ./man/clig_Float.n >+mv ./man/clig_Int.mfixed ./man/clig_Int.n >+mv ./man/clig_Long.mfixed ./man/clig_Long.n >+mv ./man/clig_Name.mfixed ./man/clig_Name.n >+mv ./man/clig_Rest.mfixed ./man/clig_Rest.n >+mv ./man/clig_String.mfixed ./man/clig_String.n >+mv ./man/clig_Usage.mfixed ./man/clig_Usage.n >+mv ./man/clig_Version.mfixed ./man/clig_Version.n >+mv ./man/clig_parseCmdline.mfixed ./man/clig_parseCmdline.n >+exit > >Property changes on: clig/files/installer >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: clig/files/patch-install >=================================================================== >--- clig/files/patch-install (revision 379624) >+++ clig/files/patch-install (working copy) >@@ -4,7 +4,7 @@ > } > > # doc and examples >-+if {$env(NOPORTDOCS) eq {}} { >++if {$env(PORT_OPTIONS:MDOCS) eq {}} { > file copy -force CHANGES ANNOUNCE index.html README WISHLIST \ > COPYING-2.0 LICENSE example \ > $env(DOCDIR) >Index: clig/files/patch-makefile >=================================================================== >--- clig/files/patch-makefile (revision 379624) >+++ clig/files/patch-makefile (working copy) >@@ -1,9 +1,25 @@ >---- makefile.orig 2013-09-26 15:22:07.000000000 +0200 >-+++ makefile 2013-09-26 15:22:46.000000000 +0200 >-@@ -104,4 +104,5 @@ >- M1SUFFIX=$(M1SUFFIX) \ >- MANnDIR=$(build_root)$(MANnDIR) MnFILES="$(MnFILES.f)" \ >- MnSUFFIX=$(MnSUFFIX) \ >+--- makefile.orig 2015-02-15 11:32:16.000000000 -0800 >++++ makefile 2015-02-15 11:33:37.000000000 -0800 >+@@ -11,7 +11,7 @@ >+ # package like an rpm. >+ build_root = >+ >+-prefix =/usr >++prefix =/usr/local >+ exec_prefix =$(prefix) >+ >+ # Name of subdirectory to be used beyond DOCDIR and LIBDIR >+@@ -98,11 +98,5 @@ >+ rm -f pkgIndex.tcl *.fixed $(M1FILES.f) $(MnFILES.f) >+ >+ install: all >+- $(TCLSH) ./install \ >+- BINDIR=$(build_root)$(BINDIR) \ >+- LIBDIR=$(build_root)$(LIBDIR) \ >+- MAN1DIR=$(build_root)$(MAN1DIR) M1FILES="$(M1FILES.f)" \ >+- M1SUFFIX=$(M1SUFFIX) \ >+- MANnDIR=$(build_root)$(MANnDIR) MnFILES="$(MnFILES.f)" \ >+- MnSUFFIX=$(MnSUFFIX) \ > - DOCDIR=$(build_root)$(DOCDIR) VERSION=$(VERSION) >-+ DOCDIR=$(build_root)$(DOCDIR) VERSION=$(VERSION) \ >-+ NOPORTDOCS=${NOPORTDOCS} >++ chmod 0755 ./installer &&\ >++ ${SH} ./installer >Index: clig/pkg-descr >=================================================================== >--- clig/pkg-descr (revision 379624) >+++ clig/pkg-descr (working copy) >@@ -1,10 +1,10 @@ >-Clig generates C code to take apart the typical command-line arguments >-given to a C program. Input to clig is a simple description file that >-specifies the name and number of options, their type (Flag, String, >-Float, Int) and permissible range, and which options are mandatory. From >-this, clig will generate self-contained C code to include in your program, >-a usage message, and a manual page skeleton. >+Clig generates C code to take apart the typical command-line arguments given >+to a C program. Input to clig is a simple description file that specifies the >+name and number of options, their type (Flag, String, Float, Int) and >+permissible range, and which options are mandatory. From this, clig will >+generate self-contained C code to include in your program, a usage message, >+and a manual page skeleton. > > Clig does a lot more than getopt! > >-WWW: http://wsd.iitb.fhg.de/~geg/clighome/ >+WWW: http://BSDforge.com/projects/devel/clig/ >Index: clig/pkg-plist >=================================================================== >--- clig/pkg-plist (revision 379624) >+++ clig/pkg-plist (working copy) >@@ -1,5 +1,7 @@ >+@mode 0555 > bin/clig > bin/cligUsage >+@mode 0644 > lib/clig/c/catArgv.c > lib/clig/c/checkDoubleHigher.c > lib/clig/c/checkDoubleLower.c >@@ -34,8 +36,10 @@ > lib/clig/tcl/genShowOptionValues.tcl > lib/clig/tcl/genStruct.tcl > lib/clig/tcl/genUsage.tcl >+@mode 0555 > lib/clig/tcl/globalpg.tcl > lib/clig/tcl/ober.tcl >+@mode 0644 > lib/clig/tcl/util.tcl > lib/clig/tcllib/DeclCommandline.tcl > lib/clig/tcllib/DeclDescription.tcl >@@ -55,6 +59,7 @@ > lib/clig/tcllib/setSpec.tcl > lib/clig/tcllib/usage.tcl > lib/clig/tcllib/version.tcl >+@mode 0444 > man/man1/clig.1.gz > man/mann/clig_Commandline.n.gz > man/mann/clig_Description.n.gz
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 196450
:
151225
|
151227
|
153014
|
153015
|
153333
|
153334
|
153350