Line 0
Link Here
|
|
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= dte |
4 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSION= 1.5 |
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= gmake ncurses iconv |
15 |
MAKEFILE= ${WRKSRC}/GNUmakefile |
16 |
MAKE_ARGS= V=1 prefix=${PREFIX} mandir=${PREFIX}/man |
17 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= craigbarnes |
19 |
TEST_TARGET= check |
20 |
|
21 |
PLIST_FILES= bin/dte \ |
22 |
man/man1/dte.1.gz \ |
23 |
man/man5/dte-syntax.5.gz \ |
24 |
man/man5/dterc.5.gz \ |
25 |
|
26 |
PORTDOCS= README.md |
27 |
|
28 |
OPTIONS_DEFINE= DOCS |
29 |
|
30 |
post-install: |
31 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dte |
32 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
33 |
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} |
34 |
|
35 |
.include <bsd.port.mk> |