mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
3d43647e7b
PR: 228171 Submitted by: maintainer
38 lines
729 B
Makefile
38 lines
729 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= dte
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.7
|
|
CATEGORIES= editors
|
|
|
|
MAINTAINER= dg@syrec.org
|
|
COMMENT= Small and easy to use console text editor
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= iconv gmake ncurses
|
|
MAKEFILE= ${WRKSRC}/GNUmakefile
|
|
MAKE_ARGS= V=1 prefix=${PREFIX} mandir=${PREFIX}/man
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= craigbarnes
|
|
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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dte
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|