aboutsummaryrefslogtreecommitdiffstats
path: root/editors/bless/Makefile
blob: 5b24746d0c065734c59679931440bae30ebe7799 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# New ports collection makefile for:    bless
# Date created:             24 October 2004
# Whom:                 Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
#   $Id: Makefile,v 1.15 2006/04/15 01:22:20 tmclau02 Exp $
#

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

MAINTAINER= bsd-sharp-list@forge.novell.com
COMMENT=    A high quality, full featured hex editor

BUILD_DEPENDS=  gapi2-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp20
RUN_DEPENDS=    gapi2-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp20

USE_GNOME=  gnomehack gnomeprefix gnometarget
USE_GMAKE=  yes
USE_X_PREFIX=   yes
INSTALLS_OMF=   yes
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes

DOCS=       AUTHORS COPYING ChangeLog NEWS README

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

.ifndef (NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
    @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.mk>