Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2016 03:11:06 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415095 - in head/lang/tcc: . files
Message-ID:  <201605130311.u4D3B6vv065758@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Fri May 13 03:11:06 2016
New Revision: 415095
URL: https://svnweb.freebsd.org/changeset/ports/415095

Log:
  - Fetch from GITHUB
  - Update MAINTAINER to my @FreeBSD.org address
  - Fix tcc-doc.html generation
  - Remove CONFLICTS because TenDRA port was deprecated some time ago
  - Use post-install-DOCS-on target
  - Use post-install-EXAMPLES-on target
  - Bump PORTREVISION
  
  Reviewed by:	amdmi3, junovitch (mentors)
  Approved by:	amdmi3, junovitch (mentors)
  Differential Revision:	D6314

Added:
  head/lang/tcc/files/patch-Makefile   (contents, props changed)
Modified:
  head/lang/tcc/Makefile
  head/lang/tcc/distinfo

Modified: head/lang/tcc/Makefile
==============================================================================
--- head/lang/tcc/Makefile	Fri May 13 02:59:34 2016	(r415094)
+++ head/lang/tcc/Makefile	Fri May 13 03:11:06 2016	(r415095)
@@ -2,18 +2,20 @@
 
 PORTNAME=	tcc
 PORTVERSION=	0.9.26
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	lang
-MASTER_SITES=	SAVANNAH/tinycc
 
-MAINTAINER=	cpm@fbsd.es
+MAINTAINER=	cpm@FreeBSD.org
 COMMENT=	Tiny C Compiler
 
 LICENSE=	LGPL21
 
 ONLY_FOR_ARCHS=	amd64 i386
 
-CONFLICTS=	TenDRA-[0-9]*
+USE_GITHUB=	yes
+GH_ACCOUNT=	TinyCC
+GH_PROJECT=	tinycc
+GH_TAGNAME=	release_${PORTVERSION:C/\./_/g}
 
 USES=		gmake makeinfo perl5 tar:bzip2
 USE_PERL5=	build
@@ -54,22 +56,20 @@ CFLAGS+=	-fheinous-gnu-extensions
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tcc
+	${INSTALL_DATA} ${WRKSRC}/tcc-doc.info ${STAGEDIR}${PREFIX}/info
+	${RM} -r ${STAGEDIR}${PREFIX}/share/info
 	${INSTALL_MAN} ${WRKSRC}/tcc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
 	${RM} -r ${STAGEDIR}${PREFIX}/share/man
 .for f in ${FILES}
 	${INSTALL_DATA} ${WRKSRC}/lib/${CPUTYPE}/*.o ${STAGEDIR}${PREFIX}/lib/tcc
 .endfor
 
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/tcc-doc.info ${STAGEDIR}${PREFIX}/info
-	${RM} -r ${STAGEDIR}${PREFIX}/share/info
-.endif
 
-.if ${PORT_OPTIONS:MEXAMPLES}
+post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/lang/tcc/distinfo
==============================================================================
--- head/lang/tcc/distinfo	Fri May 13 02:59:34 2016	(r415094)
+++ head/lang/tcc/distinfo	Fri May 13 03:11:06 2016	(r415095)
@@ -1,2 +1,2 @@
-SHA256 (tcc-0.9.26.tar.bz2) = 521e701ae436c302545c3f973a9c9b7e2694769c71d9be10f70a2460705b6d71
-SIZE (tcc-0.9.26.tar.bz2) = 525906
+SHA256 (TinyCC-tinycc-0.9.26-release_0_9_26_GH0.tar.gz) = 332e337718edcc001c70f70bda2ce10681e4f008bed2ce95084f937c791d1f47
+SIZE (TinyCC-tinycc-0.9.26-release_0_9_26_GH0.tar.gz) = 600103

Added: head/lang/tcc/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/tcc/files/patch-Makefile	Fri May 13 03:11:06 2016	(r415095)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2016-05-11 00:45:55 UTC
++++ Makefile
+@@ -300,7 +300,7 @@ endif
+ 
+ # documentation and man page
+ tcc-doc.html: tcc-doc.texi
+-	-texi2html -monolithic -number $<
++	-makeinfo --no-split --html --number-sections -o $@ $<
+ 
+ tcc.1: tcc-doc.texi
+ 	-$(top_srcdir)/texi2pod.pl $< tcc.pod



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605130311.u4D3B6vv065758>