aboutsummaryrefslogtreecommitdiffstats
path: root/editors/bless/Makefile
blob: edc6b262fcc5f9c5991cae9b72606c1ceccc3ca1 (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
32
33
34
# $FreeBSD$

PORTNAME=   bless
PORTVERSION=    0.6.0
PORTREVISION=   4
PORTEPOCH=  1
CATEGORIES= editors
MASTER_SITES=   http://download.gna.org/bless/

MAINTAINER= mono@FreeBSD.org
COMMENT=    High quality, full featured hex editor

BROKEN=     Fails to build with mono 4

USES=       gmake mono pathfix pkgconfig
USE_GNOME=  gnomeprefix gnomedocutils gtksharp20
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  ac_cv_path_MCS=${LOCALBASE}/bin/mcs
INSTALLS_OMF=   yes
OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
INSTALLS_OMF=   yes
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|tests$$||g' \
        ${WRKSRC}/Makefile.in
    @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
        's|$$(datadir)/doc/$$(PACKAGE_NAME)-$$(PACKAGE_VERSION)|${DOCSDIR}|g'

.include <bsd.port.mk>