2013-05-08 00:31:42 +02:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
2007-10-09 16:32:46 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= weedit
|
2008-02-26 13:21:25 +01:00
|
|
|
PORTVERSION= 2.0.3
|
2007-10-09 16:32:46 +02:00
|
|
|
CATEGORIES= sysutils
|
2016-03-25 21:59:47 +01:00
|
|
|
MASTER_SITES= LOCAL/ehaupt
|
2007-10-09 16:32:46 +02:00
|
|
|
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
|
|
COMMENT= File duplicate scanner with database support
|
|
|
|
|
2013-05-08 00:31:42 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2014-07-29 21:11:51 +02:00
|
|
|
USES= dos2unix tar:tgz
|
2011-06-21 15:51:12 +02:00
|
|
|
|
2007-10-09 16:32:46 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
SRCF= crc32 dlink weedit md5
|
|
|
|
|
|
|
|
PLIST_FILES= bin/weedit bin/weeditreaddb
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
.for f in ${SRCF}
|
|
|
|
${CC} ${CFLAGS} -c ${WRKSRC}/${f}.c -o ${WRKSRC}/${f}.o
|
|
|
|
.endfor
|
|
|
|
${CC} ${CFLAGS} ${WRKSRC}/utils/readdb.c -o ${WRKSRC}/weeditreaddb
|
|
|
|
${CC} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} \
|
|
|
|
${SRCF:C/(.*)/${WRKSRC}\/\1.o/}
|
|
|
|
|
|
|
|
do-install:
|
2013-10-23 09:14:05 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/weeditreaddb ${STAGEDIR}${PREFIX}/bin
|
2007-10-09 16:32:46 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|