summaryrefslogtreecommitdiff
path: root/editors/biew/Makefile
blob: 2a09e06a40e21b4dd095d6580ae2b04402416963 (plain)
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
# $NetBSD: Makefile,v 1.25 2017/08/01 17:40:10 wiz Exp $
#

DISTNAME=	biew-${BIEWVER:S/.//g}-src
PKGNAME=	biew-${BIEWVER}
CATEGORIES=	editors
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=beye/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
#HOMEPAGE=	http://beye.sourceforge.net/en/beye.html
COMMENT=	Binary viewer/editor
LICENSE=	gnu-gpl-v2

BIEWVER=	6.1.0

WRKSRC=		${WRKDIR}/biew-${BIEWVER:S/.//g}

HAS_CONFIGURE=	yes
USE_TOOLS+=	gmake
MAKE_FILE=	makefile

CONFIGURE_ARGS+=	--prefix=${PREFIX}

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CFLAGS+=	-no-integrated-as
.endif

LIBS.SunOS+=	-lrt
MAKE_ENV+=	OS_LIBS=${LIBS:Q}

.include "../../devel/libslang/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"