1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/sysutils/ts/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

35 lines
862 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= ts
PORTVERSION= 1.0
CATEGORIES= sysutils
MASTER_SITES= http://vicerveza.homeunix.net/~viric/soft/ts/
MAINTAINER= demon@FreeBSD.org
COMMENT= Serial task spooler
LICENSE= GPLv2+
USES= gmake
PLIST_FILES= bin/ts \
man/man8/ts.8.gz
PORTDOCS= OBJECTIVES PROTOCOL README TRICKS
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e '/^GLIBCFLAGS/d;/^CFLAGS/d'\
${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's/\.TH TS 1/.TH TS 8/'\
${WRKSRC}/ts.1
# Install man page as ts.8 to avoid conflict with security/openssl
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ts ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ts.1 ${STAGEDIR}${MAN1PREFIX}/man/man8/ts.8
${INSTALL} -d ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>