summaryrefslogtreecommitdiff
path: root/editors/dhex/Makefile
blob: e7a64cb31c4f871e7db77d595ec782c5e42633c1 (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
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>

PORTNAME=	dhex
PORTVERSION=	0.69
CATEGORIES=	editors
MASTER_SITES=	http://www.dettus.net/dhex/ \
		LOCAL/ehaupt
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Ncurses-based hex-editor with diff mode

LICENSE=	GPLv2

USES=		ncurses

MANPAGE1=	dhex.1
MANPAGE5=	dhexrc.5 dhex_markers.5 dhex_searchlog.5

PLIST_FILES=	bin/dhex man/man1/dhex.1.gz man/man5/dhex_markers.5.gz \
		man/man5/dhex_searchlog.5.gz man/man5/dhexrc.5.gz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/${MANPAGE1} ${STAGEDIR}${MANPREFIX}/man/man1
.for f in ${MANPAGE5}
	${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MANPREFIX}/man/man5
.endfor

.include <bsd.port.mk>