2013-09-21 01:05:58 +02:00
|
|
|
# Created by: carl@servicefactory.com
|
2003-10-04 02:37:43 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2004-03-18 22:53:51 +01:00
|
|
|
PORTNAME= toshctl
|
|
|
|
PORTVERSION= 0.0.0p3
|
2014-05-17 10:38:00 +02:00
|
|
|
PORTREVISION= 1
|
2004-03-18 22:53:51 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://freebie.miraclenet.co.th/notebook/toshctl/
|
2003-10-04 02:37:43 +02:00
|
|
|
|
2014-02-05 09:22:02 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-05-17 10:38:00 +02:00
|
|
|
COMMENT= Command-line tool to access parts of the Toshiba hardware interface
|
2003-10-04 02:37:43 +02:00
|
|
|
|
2014-05-17 10:38:00 +02:00
|
|
|
LICENSE= GPLv2 # (or later)
|
2003-10-16 11:26:32 +02:00
|
|
|
|
2004-03-18 22:53:51 +01:00
|
|
|
WRKSRC= ${WRKDIR}/toshctl
|
|
|
|
|
2014-05-17 10:38:00 +02:00
|
|
|
USES= tar:tgz
|
|
|
|
|
|
|
|
PLIST_FILES= bin/toshctl
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|$$(CC)|$$(CXX)| ; \
|
|
|
|
s|$$(CFLAGS)|$$(CXXFLAGS)|' ${WRKSRC}/Makefile
|
|
|
|
|
2004-03-18 22:53:51 +01:00
|
|
|
do-install:
|
2014-05-17 10:38:00 +02:00
|
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} toshctl ${STAGEDIR}${PREFIX}/bin)
|
2003-10-04 02:37:43 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|