Merge branch 'staged'
[dports.git] / editors / dte / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       dte
4 DISTVERSIONPREFIX=      v
5 DISTVERSION=    1.8.2
6 CATEGORIES=     editors
7
8 MAINTAINER=     dg@syrec.org
9 COMMENT=        Small and easy to use console text editor
10
11 LICENSE=        GPLv2
12 LICENSE_FILE=   ${WRKSRC}/LICENSE
13
14 USES=           iconv gmake ncurses
15
16 MAKEFILE=       ${WRKSRC}/GNUmakefile
17 MAKE_ARGS=      V=1 prefix=${PREFIX} mandir=${PREFIX}/man
18
19 USE_GITHUB=     yes
20 GH_ACCOUNT=     craigbarnes
21
22 TEST_TARGET=    check
23
24 PLIST_FILES=    bin/dte \
25                 man/man1/dte.1.gz \
26                 man/man5/dte-syntax.5.gz \
27                 man/man5/dterc.5.gz \
28
29 PORTDOCS=       README.md
30
31 OPTIONS_DEFINE= DOCS
32
33 post-install:
34         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dte
35
36 post-install-DOCS-on:
37         @${MKDIR} ${STAGEDIR}${DOCSDIR}
38         ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
39
40 .include <bsd.port.mk>