SIM 2.21 port
This commit is contained in:
parent
e176096ec1
commit
c1c5e217ae
39
textproc/sim/Makefile
Normal file
39
textproc/sim/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/01/29 10:45:38 laurent Exp $
|
||||
|
||||
COMMENT= tests lexical similarity in texts
|
||||
|
||||
DISTNAME= sim_2_21
|
||||
PKGNAME= sim-2.21
|
||||
CATEGORIES= textproc
|
||||
|
||||
HOMEPAGE= http://www.cs.vu.nl/~dick/sim.html
|
||||
|
||||
MAINTAINER= Laurent Fanis <laurent@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c
|
||||
|
||||
EXTRACT_SUFX= .shar
|
||||
MASTER_SITES= http://humppa.nl/distfiles/
|
||||
|
||||
MAKE_FLAGS= CC=${CC} CFLAGS="${CFLAGS} -DUNIX" LDFLAGS="${LDFLAGS}"
|
||||
|
||||
WRKDIST= ${WRKDIR}
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
pre-patch:
|
||||
find ${WRKSRC} -name '*.[ch]'|xargs fgrep -l malloc.h| \
|
||||
while read i; do \
|
||||
sed -e 's/malloc.h/stdlib.h/' $$i >$$i.bak && mv $$i.bak $$i; \
|
||||
done
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sim_* ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/sim.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
5
textproc/sim/distinfo
Normal file
5
textproc/sim/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (sim_2_21.shar) = SNo8SirXbBA1cH9gVAvpLg==
|
||||
RMD160 (sim_2_21.shar) = dbGkA2ScuewPhZVbFb4ozLfN+7E=
|
||||
SHA1 (sim_2_21.shar) = BRgGwj4IeDhodzfR1B8QxE6bzFI=
|
||||
SHA256 (sim_2_21.shar) = X6u7IviQvB5i3ANrGTvFEJybMoNZiumaYpu+sq1//Z0=
|
||||
SIZE (sim_2_21.shar) = 194877
|
8
textproc/sim/pkg/DESCR
Normal file
8
textproc/sim/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
SIM tests lexical similarity in texts in C, Java, Pascal, Modula-2, Lisp,
|
||||
Miranda, and natural language.
|
||||
|
||||
It is used:
|
||||
* to detect potentially duplicated code fragments in large software
|
||||
projects, in program text, in shell scripts and in documentation.
|
||||
* to detect plagiarism in software projects, educational and otherwise.
|
||||
|
9
textproc/sim/pkg/PLIST
Normal file
9
textproc/sim/pkg/PLIST
Normal file
@ -0,0 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/01/29 10:45:38 laurent Exp $
|
||||
bin/sim_c
|
||||
bin/sim_java
|
||||
bin/sim_lisp
|
||||
bin/sim_m2
|
||||
bin/sim_mira
|
||||
bin/sim_pasc
|
||||
bin/sim_text
|
||||
@man man/man1/sim.1
|
Loading…
Reference in New Issue
Block a user