aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ts/Makefile
blob: be672de50c8fb1eb58affb3dfff191f9b9c40989 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   ts
PORTVERSION=    0.7.4
CATEGORIES= sysutils
MASTER_SITES=   http://vicerveza.homeunix.net/~viric/soft/ts/ CENKES

MAINTAINER= demon@FreeBSD.org
COMMENT=    Serial task spooler

USES=       gmake
PLIST_FILES=    bin/ts \
        man/man8/ts.8.gz
PORTDOCS=   OBJECTIVES PROTOCOL README TRICKS

post-patch:
    ${REINPLACE_CMD} -e '/^GLIBCFLAGS/d;/^CFLAGS/d'\
        ${WRKSRC}/Makefile

# 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>