2013-05-06 11:07:58 +02:00
|
|
|
# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
|
2011-02-15 16:59:43 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dc3dd
|
2018-06-24 17:55:52 +02:00
|
|
|
PORTVERSION= 7.2.646
|
2011-02-15 16:59:43 +01:00
|
|
|
CATEGORIES= sysutils
|
2018-06-24 17:55:52 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/${PORTNAME}%20${PORTVERSION}
|
2011-02-15 16:59:43 +01:00
|
|
|
|
|
|
|
MAINTAINER= nobutaka@FreeBSD.org
|
2014-07-17 10:57:51 +02:00
|
|
|
COMMENT= dd program useful for computer forensics
|
2011-02-15 16:59:43 +01:00
|
|
|
|
2017-05-27 02:20:19 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
BROKEN_armv6= fails to compile: bit-field 'verify_error_if_negative_size__' has negative width
|
2017-11-30 07:13:34 +01:00
|
|
|
BROKEN_armv7= fails to compile: bit-field 'verify_error_if_negative_size__' has negative width
|
2017-05-27 02:20:19 +02:00
|
|
|
|
2018-06-24 17:55:52 +02:00
|
|
|
USES= gettext iconv gmake zip
|
2011-02-15 16:59:43 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-06-11 16:49:59 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2011-02-15 16:59:43 +01:00
|
|
|
|
2014-02-11 15:18:41 +01:00
|
|
|
OPTIONS_DEFINE= NLS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2013-05-06 11:07:58 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
2011-02-15 16:59:43 +01:00
|
|
|
CONFIGURE_ARGS= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2018-06-24 17:55:52 +02:00
|
|
|
pre-configure:
|
|
|
|
${CHMOD} +x ${WRKSRC}/configure
|
|
|
|
|
2011-02-15 16:59:43 +01:00
|
|
|
.include <bsd.port.mk>
|