View | Details | Raw Unified | Return to bug 182879
Collapse All | Expand All

(-)Makefile (-7 / +8 lines)
Lines 10-30 Link Here
10
COMMENT=	Serial task spooler
10
COMMENT=	Serial task spooler
11
11
12
USE_GMAKE=	yes
12
USE_GMAKE=	yes
13
PLIST_FILES=	bin/ts
13
PLIST_FILES=	bin/ts \
14
		man/man8/ts.8.gz
14
PORTDOCS=	OBJECTIVES PROTOCOL README TRICKS
15
PORTDOCS=	OBJECTIVES PROTOCOL README TRICKS
15
MAN1=		ts.1
16
16
17
NO_STAGE=	yes
18
post-patch:
17
post-patch:
19
	${REINPLACE_CMD} -e '/^GLIBCFLAGS/d;/^CFLAGS/d'\
18
	${REINPLACE_CMD} -e '/^GLIBCFLAGS/d;/^CFLAGS/d'\
20
		${WRKSRC}/Makefile
19
		${WRKSRC}/Makefile
21
20
21
# Install man page as ts.8 to avoid conflict with security/openssl
22
22
do-install:
23
do-install:
23
	${INSTALL_PROGRAM} ${WRKSRC}/ts ${PREFIX}/bin/
24
	${INSTALL_PROGRAM} ${WRKSRC}/ts ${STAGEDIR}${PREFIX}/bin
24
	${INSTALL_MAN} ${WRKSRC}/ts.1 ${MAN1PREFIX}/man/man1/
25
	${INSTALL_MAN} ${WRKSRC}/ts.1 ${STAGEDIR}${MAN1PREFIX}/man/man8/ts.8
25
.ifndef NOPORTDOCS
26
.ifndef NOPORTDOCS
26
	${INSTALL} -d ${DOCSDIR}/
27
	${INSTALL} -d ${STAGEDIR}${DOCSDIR}
27
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
28
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
28
.endif
29
.endif
29
30
30
.include <bsd.port.mk>
31
.include <bsd.port.mk>

Return to bug 182879