aboutsummaryrefslogtreecommitdiff
path: root/editors/wxhexeditor/Makefile
blob: 8fd77bf4af5300ef2f6db58d26522e47ff9f6527 (plain) (blame)
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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>

PORTNAME=	wxhexeditor
PORTVERSION=	0.24
PORTREVISION=	4
CATEGORIES=	editors
MASTER_SITES=	SF/${PORTNAME}/wxHexEditor/v${PORTVERSION}%20Beta/
DISTNAME=	wxHexEditor-v${PORTVERSION}-src

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Graphical hex editor for big files with x86 disassembly support

LICENSE=	GPLv2

LIB_DEPENDS=	libudis86.so:devel/udis86 \
		libmhash.so:security/mhash

USES=		compiler:c++11-lang gettext-tools gmake tar:xz
USE_WX=		3.0+
MAKE_ARGS=	WXCONFIG="${WX_CONFIG}"

WRKSRC=		${WRKDIR}/wxHexEditor

# Follow the ${MTREE_FILE} which specifies simple, unsuffixed names
# for these particular locales
post-patch:
	@${MV} ${WRKSRC}/locale/hu_HU ${WRKSRC}/locale/hu
	@${MV} ${WRKSRC}/locale/ja_JP ${WRKSRC}/locale/ja
	@${MV} ${WRKSRC}/locale/nl_NL ${WRKSRC}/locale/nl

.include <bsd.port.mk>