blob: 01a078c643ab9434b455f013cfe0209768974e15 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Created by: carl@servicefactory.com
# $FreeBSD$
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 # (or later)
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 <bsd.port.mk>
|