freebsd-ports/sysutils/duff/Makefile
Ganael LAPLANCHE da82c43798 - Update to 0.5 [1]
- Improve PORTDOCS handling [2]

PR:	ports/156388 [1]
Submitted by:	Jason E. Hale <bsdkaffee@gmail.com> (maintainer) [1]
Approved by:	maintainer timeout (22 days) [2]
2011-05-10 09:52:57 +00:00

46 lines
831 B
Makefile

# New ports collection makefile for: duff
# Date created: 2009-06-10
# Whom: Jason E. Hale <bsdkaffee@gmail.com>
#
# $FreeBSD$
#
PORTNAME= duff
PORTVERSION= 0.5
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= bsdkaffee@gmail.com
COMMENT= Duplicate file finder
USE_BZIP2= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
MAN1= duff.1
OPTIONS= NLS "Native Language Support" on
PORTDOCS= README.SHA
.include <bsd.port.options.mk>
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} '/^install-data-am:/s/install-dist_docDATA//' \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>