definition. Shadow the stdio prototype with a macro and undef it after including stdio.h Convert port to the USES framework Regenerate the patch-Make.pthread file using makepatch PR: 201444 Submitted by: winston@ml1.net (maintainer)
35 lines
673 B
Makefile
35 lines
673 B
Makefile
# Created by: Winston Weinert <winstonw@lavabit.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= drawterm
|
|
PORTVERSION= 20140106
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://swtch.com/drawterm/
|
|
|
|
MAINTAINER= winston@ml1.net
|
|
COMMENT= Plan9 cpu client
|
|
|
|
# Additionally the Lucent Public License
|
|
LICENSE= MIT
|
|
|
|
USES= tar:tgz
|
|
USE_XORG= x11 xt
|
|
|
|
PLIST_FILES= bin/drawterm
|
|
PORTDOCS= LICENSE README
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
MAKE_ARGS= CONF=pthread
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/drawterm ${STAGEDIR}${PREFIX}/bin
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/README ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|