1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/sysutils/duff/Makefile
Alex Kozlov e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00

42 lines
675 B
Makefile

# $FreeBSD$
PORTNAME= duff
PORTVERSION= 0.5.2
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= jhale@FreeBSD.org
COMMENT= Duplicate file finder
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/COPYING
USE_BZIP2= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= duff.1
PORTDOCS= README.SHA
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
post-patch:
.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} '/^install-data-am:/s/install-dist_docDATA//' \
${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>