1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/sysutils/hourglass/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

37 lines
863 B
Makefile

PORTNAME= hourglass
PORTVERSION= 1.0.1
DISTVERSIONSUFFIX= b
CATEGORIES= sysutils education parallel
MASTER_SITES= http://www.cs.utah.edu/~regehr/hourglass/
MAINTAINER= ports@FreeBSD.org
COMMENT= Real-time application to learn how CPU scheduling works
RUN_DEPENDS= jgraph:graphics/jgraph
ONLY_FOR_ARCHS= i386 amd64
GNU_CONFIGURE= yes
PLIST_FILES= bin/busy bin/hourglass
PORTDOCS= CALIBRATION
OPTIONS_DEFINE= DOCS
THREAD_LIBS= -pthread
post-patch:
@${REINPLACE_CMD} -e 's,%LOCALBASE%,${LOCALBASE},g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's,%THREAD_LIBS%,${THREAD_LIBS},g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's,%THREAD_CFLAGS%,${THREAD_CFLAGS},g' \
${WRKSRC}/configure
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>