# Created by: carl@servicefactory.com # $FreeBSD: head/sysutils/toshctl/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $ 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