aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorcpm <cpm@FreeBSD.org>2016-05-13 11:11:06 +0800
committercpm <cpm@FreeBSD.org>2016-05-13 11:11:06 +0800
commitf713ade9ca0e5026f75e72dde14a9a79ce6aa89e (patch)
treeb42919dfaec33671794b64bf9b21dba6bd28f9da /lang
parent51d763fbf956c670ff5ea0ec6e15cf62f97e5b35 (diff)
downloadfreebsd-ports-gnome-f713ade9ca0e5026f75e72dde14a9a79ce6aa89e.tar.gz
freebsd-ports-gnome-f713ade9ca0e5026f75e72dde14a9a79ce6aa89e.tar.zst
freebsd-ports-gnome-f713ade9ca0e5026f75e72dde14a9a79ce6aa89e.zip
- 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
Diffstat (limited to 'lang')
-rw-r--r--lang/tcc/Makefile20
-rw-r--r--lang/tcc/distinfo4
-rw-r--r--lang/tcc/files/patch-Makefile11
3 files changed, 23 insertions, 12 deletions
diff --git a/lang/tcc/Makefile b/lang/tcc/Makefile
index 77063416c772..5267e2291735 100644
--- a/lang/tcc/Makefile
+++ b/lang/tcc/Makefile
@@ -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>
diff --git a/lang/tcc/distinfo b/lang/tcc/distinfo
index f8c722f7c812..1e7d92f3c288 100644
--- a/lang/tcc/distinfo
+++ b/lang/tcc/distinfo
@@ -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
diff --git a/lang/tcc/files/patch-Makefile b/lang/tcc/files/patch-Makefile
new file mode 100644
index 000000000000..c66d258cc099
--- /dev/null
+++ b/lang/tcc/files/patch-Makefile
@@ -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