diff options
author | rafan <rafan@FreeBSD.org> | 2006-09-07 17:31:43 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-09-07 17:31:43 +0800 |
commit | 956a43e98d600d8e901134b763222d98d5adba3b (patch) | |
tree | 438e6849bc45ba0dfe8d2b7f29fa6ed26b10ae75 /devel/cccc/Makefile | |
parent | 394b230c3ee6ce1da4d488b426c54d0d76f8dafa (diff) | |
download | freebsd-ports-gnome-956a43e98d600d8e901134b763222d98d5adba3b.tar.gz freebsd-ports-gnome-956a43e98d600d8e901134b763222d98d5adba3b.tar.zst freebsd-ports-gnome-956a43e98d600d8e901134b763222d98d5adba3b.zip |
- Update to 3.1.4
PR: ports/102864
Submitted by: Marcus von Appen <mva at sysfault.org>
Diffstat (limited to 'devel/cccc/Makefile')
-rw-r--r-- | devel/cccc/Makefile | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/devel/cccc/Makefile b/devel/cccc/Makefile index 755e469ce0a8..36ec1293b79b 100644 --- a/devel/cccc/Makefile +++ b/devel/cccc/Makefile @@ -7,12 +7,10 @@ # PORTNAME= cccc -PORTVERSION= 2.1.1 -PORTREVISION= 1 +PORTVERSION= 3.1.4 CATEGORIES= devel textproc www -MASTER_SITES= ${MASTER_SITE_SUNSITE} -MASTER_SITE_SUBDIR= devel/lang/c++ -DISTNAME= ${PORTNAME}-${PORTVERSION}.src +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= cccc MAINTAINER= ports@FreeBSD.org COMMENT= C and C++ Code Counter @@ -20,23 +18,14 @@ COMMENT= C and C++ Code Counter BUILD_DEPENDS= antlr:${PORTSDIR}/devel/pccts \ dlg:${PORTSDIR}/devel/pccts -WRKSRC= ${WRKDIR}/usr/local/src/${PORTNAME}-${PORTVERSION} USE_GMAKE= yes MAKEFILE= makefile -MAKE_ENV= OSTYPE=FreeBSD -USE_GCC= 2.95 -PORTDOCS= readme.txt - -post-patch: - ${REINPLACE_CMD} -e 's,=g++,=${CXX},g' ${WRKSRC}/${MAKEFILE} +PORTDOCS= readme.txt changes.txt +PLIST_FILES= bin/cccc do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/cccc ${PREFIX}/bin - @${MKDIR} ${DATADIR} -.for f in cccc_inf.dat cccc_met.dat cccc_tmt.dat cccc_ug.htm - @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR} -.endfor + @${INSTALL_PROGRAM} ${WRKSRC}/cccc/cccc ${PREFIX}/bin .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} @@ -44,4 +33,10 @@ do-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= does not compile +.endif + +.include <bsd.port.post.mk> |