30 lines
681 B
Makefile
30 lines
681 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fdupes
|
|
PORTVERSION= 1.6.1
|
|
DISTVERSIONPREFIX= v
|
|
PORTEPOCH= 1
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Fdupes is a program for identifying or deleting duplicate files
|
|
|
|
LICENSE= MIT
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= adrianlopezroche
|
|
|
|
PLIST_FILES= bin/fdupes man/man1/fdupes.1.gz
|
|
|
|
CFLAGS+= -DVERSION=\"${PORTVERSION}\"
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/md5/md5.c \
|
|
-o ${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|