aboutsummaryrefslogblamecommitdiff
path: root/editors/dte/Makefile
blob: cc2f84c4547b68df9ebd0cb328f331b2a617af55 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                         
                     

                       
                                





                                                         
 



                                                        

                                                         
 






                                          
                                 




                                                 

                     
                                       

                                                                    

                      
PORTNAME=	dte
DISTVERSIONPREFIX=	v
DISTVERSION=	1.9.1
CATEGORIES=	editors

MAINTAINER=	dmgk@FreeBSD.org
COMMENT=	Small and easy to use console text editor

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		iconv gmake ncurses

USE_GITLAB=	yes
GL_ACCOUNT=	craigbarnes
GL_COMMIT=	cae7c45ea5a563c022001a54d1eee71c268f62b4

MAKEFILE=	${WRKSRC}/GNUmakefile
MAKE_ARGS=	V=1 prefix=${PREFIX} mandir=${PREFIX}/man

TEST_TARGET=	check

PLIST_FILES=	bin/dte \
		man/man1/dte.1.gz \
		man/man5/dte-syntax.5.gz \
		man/man5/dterc.5.gz \

PORTDOCS=	README.md keys.md

OPTIONS_DEFINE=	DOCS

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dte

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/docs/keys.md ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>