From fdbe2abfd18ddcc7dc770698289f4b731496aa7f Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Thu, 5 Oct 2006 02:32:22 +0000 Subject: [PATCH] add duplo 0.2.0 Find duplicated code blocks in large C/C++/Java/C#/VB.Net systems --- devel/Makefile | 1 + devel/duplo/Makefile | 34 ++++++++++++++++++++++++++++++++++ devel/duplo/distinfo | 3 +++ devel/duplo/pkg-descr | 4 ++++ 4 files changed, 42 insertions(+) create mode 100644 devel/duplo/Makefile create mode 100644 devel/duplo/distinfo create mode 100644 devel/duplo/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 7a5e868ba018..a91fb7a5d06d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -242,6 +242,7 @@ SUBDIR += dprog SUBDIR += drpython SUBDIR += dumb + SUBDIR += duplo SUBDIR += dwarfdump SUBDIR += e4graph SUBDIR += ebnf2yacc diff --git a/devel/duplo/Makefile b/devel/duplo/Makefile new file mode 100644 index 000000000000..c0864703a81d --- /dev/null +++ b/devel/duplo/Makefile @@ -0,0 +1,34 @@ +# ex:ts=8 +# Ports collection makefile for: duplo +# Date created: Oct 5, 2006 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= duplo +PORTVERSION= 0.2.0 +CATEGORIES= devel +MASTER_SITES= SF +DISTNAME= ${PORTNAME}_${PORTVERSION}_src + +MAINTAINER= ijliao@FreeBSD.org +COMMENT= Find duplicated code blocks in large C/C++/Java/C#/VB.Net systems + +USE_GMAKE= yes + +PLIST_FILES= bin/duplo %%DATADIR%%/duplo.xsl +PLIST_DIRS= %%DATADIR%% + +post-patch: + @${REINPLACE_CMD} -e "s,^CC,#CC," \ + -e "s,^CXXFLAGS,#CXXFLAGS," \ + -e "s,[$$]{CC},$$\{CXX\}," \ + ${WRKSRC}/${MAKEFILE} + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/duplo ${PREFIX}/bin + @${MKDIR} ${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/duplo.xsl ${DATADIR} + +.include diff --git a/devel/duplo/distinfo b/devel/duplo/distinfo new file mode 100644 index 000000000000..f15f45c9f176 --- /dev/null +++ b/devel/duplo/distinfo @@ -0,0 +1,3 @@ +MD5 (duplo_0.2.0_src.tar.gz) = 1eea4c2b761ee7feab501148cc850392 +SHA256 (duplo_0.2.0_src.tar.gz) = 8862437ee6e46b793bd43f13727024732f719823a74559d97097845948825bd9 +SIZE (duplo_0.2.0_src.tar.gz) = 22246 diff --git a/devel/duplo/pkg-descr b/devel/duplo/pkg-descr new file mode 100644 index 000000000000..f31720fed8dd --- /dev/null +++ b/devel/duplo/pkg-descr @@ -0,0 +1,4 @@ +Duplicated source code blocks can harm maintainability of software systems. +Duplo is a tool to find duplicated code blocks in large C/C++/Java systems. + +WWW: http://duplo.giants.ch/