# Created by: carl@servicefactory.com PORTNAME= toshctl PORTVERSION= 0.0.0p3 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://freebie.miraclenet.co.th/notebook/toshctl/ MAINTAINER= ports@FreeBSD.org COMMENT= Command-line tool to access parts of the Toshiba hardware interface LICENSE= GPLv2+ WRKSRC= ${WRKDIR}/toshctl USES= tar:tgz PLIST_FILES= bin/toshctl ONLY_FOR_ARCHS= i386 post-patch: @${REINPLACE_CMD} -e \ 's|$$(CC)|$$(CXX)| ; \ s|$$(CFLAGS)|$$(CXXFLAGS)|' ${WRKSRC}/Makefile do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} toshctl ${STAGEDIR}${PREFIX}/bin) .include