diff options
author | madpilot <madpilot@FreeBSD.org> | 2014-07-29 22:33:17 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2014-07-29 22:33:17 +0800 |
commit | 01e6f1c6148b48c0a6052b6275efc515ae6eb6dd (patch) | |
tree | 44688c6bacbea117f93a77941eadd3734fd99556 /lang | |
parent | e17ab03b2b23852ea8a9b61151276677eb0f9933 (diff) | |
download | freebsd-ports-gnome-01e6f1c6148b48c0a6052b6275efc515ae6eb6dd.tar.gz freebsd-ports-gnome-01e6f1c6148b48c0a6052b6275efc515ae6eb6dd.tar.zst freebsd-ports-gnome-01e6f1c6148b48c0a6052b6275efc515ae6eb6dd.zip |
- Fix plist
- Add INFO macro and USES=makeinfo to make it also work on revent head
- Clean up Makefile
PR: 192137
Submitted by: Carlos Jacobo Puga Medina <cjpugmed@gmail.com> (maintainer)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/tcc/Makefile | 9 | ||||
-rw-r--r-- | lang/tcc/pkg-plist | 5 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lang/tcc/Makefile b/lang/tcc/Makefile index 53426c498006..22bc30f220a8 100644 --- a/lang/tcc/Makefile +++ b/lang/tcc/Makefile @@ -2,6 +2,7 @@ PORTNAME= tcc PORTVERSION= 0.9.26 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= SAVANNAH/tinycc @@ -14,7 +15,7 @@ ONLY_FOR_ARCHS= i386 CONFLICTS= TenDRA-[0-9]* -USES= tar:bzip2 gmake perl5 +USES= gmake makeinfo perl5 tar:bzip2 USE_PERL5= build HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix="${PREFIX}" --cc="${CC}" @@ -22,6 +23,7 @@ MAKE_ARGS= CONFIG_NOLDL=1 OPTIONS_DEFINE= DOCS EXAMPLES +INFO= tcc-doc PORTDOCS= COPYING Changelog README TODO VERSION .include <bsd.port.options.mk> @@ -39,11 +41,14 @@ CFLAGS+= -fheinous-gnu-extensions post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tcc ${INSTALL_MAN} ${WRKSRC}/tcc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 - ${INSTALL_DATA} ${WRKSRC}/lib/i386/bcheck.o ${STAGEDIR}${PREFIX}/lib/tcc/ + ${RM} -r ${STAGEDIR}${PREFIX}/share/man + ${INSTALL_DATA} ${WRKSRC}/lib/i386/bcheck.o ${STAGEDIR}${PREFIX}/lib/tcc .if ${PORT_OPTIONS:MDOCS} ${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} diff --git a/lang/tcc/pkg-plist b/lang/tcc/pkg-plist index 38342126a965..86155df98915 100644 --- a/lang/tcc/pkg-plist +++ b/lang/tcc/pkg-plist @@ -10,13 +10,8 @@ lib/tcc/include/varargs.h lib/tcc/bcheck.o lib/tcc/libtcc1.a man/man1/tcc.1.gz -share/info/tcc-doc.info -share/man/man1/tcc.1 @dirrm lib/tcc/include @dirrm lib/tcc -@dirrmtry share/info -@dirrmtry share/man/man1 -@dirrmtry share/man %%PORTDOCS%%%%DOCSDIR%%/tcc-doc.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex1.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex2.c |