aboutsummaryrefslogtreecommitdiffstats
path: root/editors/hnb/Makefile
blob: 22ad8867bdfb64b21f6262ab81311f93831d7364 (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
# New ports collection makefile for:    hnb
# Date created:             Fri Jul  6 05:37:14 EDT 2001
# Whom:                 Patrick Li <pat@databits.net>
#
# $FreeBSD$
#

PORTNAME=   hnb
PORTVERSION=    1.9.17
PORTREVISION=   1
CATEGORIES= editors
MASTER_SITES=   SF

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    Hierarchical NoteBook a data organizer

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USE_GMAKE=  yes
ALL_TARGET=
MAKE_JOBS_UNSAFE=   yes

MAN1=       hnb.1

post-patch:
    @${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|' ${WRKSRC}/Makefile
    @${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/libcli/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/hnb ${PREFIX}/bin
    ${INSTALL_MAN}  ${WRKSRC}/../doc/hnb.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for FILE in Documentation.hnb Documentation.html hnbrc
    ${INSTALL_DATA} ${WRKSRC}/../doc/${FILE} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>