1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/editors/teco/Makefile
Fernando Apesteguía f12dc10f3e editors/teco: Improve documentation and set maintainership
* Add detailed man page
* Add DOCS option
* Add LICENSE
* Give maintainership to submitter

PR:	231184
Submitted by:	bob@eager.cx
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D17228
2018-09-28 17:47:39 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Stanislav Sedov <stas@core.310.ru>
# $FreeBSD$
PORTNAME= teco
PORTVERSION= 0398
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://almy.us/files/
DISTNAME= tecoclinux${PORTVERSION}
MAINTAINER= bob@eager.cx
COMMENT= Powerful and compact editor with nongraphical user interface
LICENSE= BSD3CLAUSE
CFLAGS+= -Wno-pointer-sign -Wno-expansion-to-defined -Wno-int-to-pointer-cast
MAKEFILE= makefile
WRKSRC= ${WRKDIR}/tecoc${PORTVERSION}
BUILD_WRKSRC= ${WRKSRC}/src
ALL_TARGET= # empty
SUB_FILES= teco.1
OPTIONS_DEFINE= DOCS
DOCSFILES= src/readme.1st src/readme.lnx src/changes.txt src/aaout.txt \
src/problems.txt src/video.txt doc/teco.doc doc/wchart.txt
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/tecoc ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/teco.1 ${STAGEDIR}${PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in ${DOCSFILES}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>