freebsd-ports/sysutils/duff/Makefile
Max Brazhnikov 2b12434b2d Update to 0.5.2
Add LICENSE (ZLIB license)

PR:		ports/165266
Submitted by:	Jason E. Hale (maintainer)
2012-02-22 11:06:51 +00:00

51 lines
944 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.2
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= bsdkaffee@gmail.com
COMMENT= Duplicate file finder
LICENSE= ZLIB
LICENSE_GROUPS= FSF OSI COPYFREE
LICENSE_NAME= ZLIB license
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
USE_BZIP2= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
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>