mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
49477413c0
- Quiesce portlint about patch format
34 lines
790 B
Makefile
34 lines
790 B
Makefile
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= weedit
|
|
PORTVERSION= 2.0.3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= LOCAL/ehaupt
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= File duplicate scanner with database support
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= dos2unix tar:tgz
|
|
|
|
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:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/weeditreaddb ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|