opnsense-ports/sysutils/toshctl/Makefile
2022-09-07 22:33:21 +02:00

29 lines
633 B
Makefile

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
WWW= http://freebie.miraclenet.co.th/notebook/toshctl/
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 <bsd.port.mk>