1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/sysutils/weedit/Makefile
Emanuel Haupt b2d9e3a4e9 - Add license
- Trim header
2013-05-07 22:31:42 +00:00

38 lines
827 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= weedit
PORTVERSION= 2.0.3
CATEGORIES= sysutils
MASTER_SITES= http://adm1n.cjb.net/cw/ \
CRITICAL
EXTRACT_SUFX= .tgz
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= File duplicate scanner with database support
LICENSE= GPLv2
USE_DOS2UNIX= yes
MAKE_JOBS_SAFE= yes
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} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/weeditreaddb ${PREFIX}/bin
.include <bsd.port.mk>