aboutsummaryrefslogblamecommitdiff
path: root/editors/hexedit/Makefile
blob: 8dd48ad8b5aa07d8907db538b239c94d6e28613d (plain) (tree)
1
2
3
4
5
6
7
8
9
                              
 
                       
                   
                       
 
                                   
                                                           
 
                     
                                 
 
                                  
 


                                                       
 




                                                                                
 

                                                                          
                                                                                   
 
                      
# Created by: Andrey Zakhvatov

PORTNAME=	hexedit
PORTVERSION=	1.5
CATEGORIES=	editors

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	View and edit files in hexadecimal or ASCII

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		autoreconf ncurses

GNU_CONFIGURE=	yes

PLIST_FILES=	bin/hexedit share/man/man1/hexedit.1.gz

GH_ACCOUNT=	pixel
USE_GITHUB=	yes

post-build:
	m4 -DVERSION=${PORTVERSION} ${WRKSRC}/hexedit.1.in > ${WRKSRC}/hexedit.1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/

.include <bsd.port.mk>