/
Makefile
37 lines (28 loc) · 894 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
PORTNAME= dc3dd
PORTVERSION= 7.3.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= dd program useful for computer forensics
WWW= https://sourceforge.net/projects/dc3dd/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_armv6= fails to compile: bit-field 'verify_error_if_negative_size__' has negative width
BROKEN_armv7= fails to compile: bit-field 'verify_error_if_negative_size__' has negative width
USES= gettext iconv gmake zip
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
pre-configure:
${CHMOD} +x ${WRKSRC}/configure
.include <bsd.port.mk>