freebsd-ports/sysutils/fdupes/Makefile

37 lines
812 B
Makefile
Raw Normal View History

# New ports collection makefile for: fdupes
# Date created: 27 December 2004
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= fdupes
2007-05-26 23:55:21 +02:00
DISTVERSION= 1.50-PR2
CATEGORIES= sysutils
2006-06-01 14:13:54 +02:00
MASTER_SITES= http://netdial.caribe.net/~adrian2/programs/ \
2008-03-27 20:27:34 +01:00
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Fdupes is a program for identifying or deleting duplicate files
MAN1= fdupes.1
PLIST_FILES= bin/fdupes
2007-02-10 11:21:38 +01:00
CFLAGS+= -DVERSION=\"${PORTVERSION}\"
.include <bsd.port.pre.mk>
2007-02-10 11:21:38 +01:00
.if (${OSVERSION} < 500041)
CFLAGS+= -DOMIT_GETOPT_LONG=yes
.endif
do-build:
2007-02-10 11:21:38 +01:00
${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/md5/md5.c \
-o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
.include <bsd.port.post.mk>