2008-09-23 23:19:03 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= asusoled
|
|
|
|
PORTVERSION= 0.10
|
2015-03-22 00:05:19 +01:00
|
|
|
PORTREVISION= 10
|
2008-09-23 23:19:03 +02:00
|
|
|
CATEGORIES= sysutils
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= LOCAL/jkim
|
2008-09-23 23:19:03 +02:00
|
|
|
|
|
|
|
MAINTAINER= jkim@FreeBSD.org
|
|
|
|
COMMENT= Utility for ASUS USB OLED Display
|
|
|
|
|
2014-01-07 02:29:30 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
RUN_DEPENDS= ${FONTDIR}/TTF/luxisr.ttf:x11-fonts/font-bh-ttf
|
2008-09-23 23:19:03 +02:00
|
|
|
|
|
|
|
USE_SDL= image sdl ttf
|
2012-08-06 01:19:36 +02:00
|
|
|
USE_RC_SUBR= asusoled oled_clock
|
2008-09-23 23:19:03 +02:00
|
|
|
|
|
|
|
PORTDATA= asus.png asus_clock.png
|
|
|
|
PORTDOCS= README.FreeBSD
|
|
|
|
PLIST_FILES= sbin/asusoled
|
2012-08-11 12:52:07 +02:00
|
|
|
SUB_FILES= pkg-message
|
2008-09-23 23:19:03 +02:00
|
|
|
|
|
|
|
MAKE_ARGS+= TTF_FONT=${FONTDIR}/TTF/luxisr.ttf
|
|
|
|
|
2015-03-22 00:05:19 +01:00
|
|
|
FONTDIR?= ${LOCALBASE}/share/fonts
|
2008-09-23 23:19:03 +02:00
|
|
|
|
2014-01-07 02:29:30 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
do-install:
|
2015-09-03 16:09:17 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/asusoled ${STAGEDIR}${PREFIX}/sbin
|
2014-01-07 02:29:30 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
2008-09-23 23:19:03 +02:00
|
|
|
.for i in ${PORTDATA}
|
2015-09-03 16:09:17 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/${i} ${STAGEDIR}${DATADIR}
|
2008-09-23 23:19:03 +02:00
|
|
|
.endfor
|
2015-09-03 16:09:17 +02:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-01-07 02:29:30 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2015-09-03 16:09:17 +02:00
|
|
|
${INSTALL_DATA} ${PKGMESSAGE} ${STAGEDIR}${DOCSDIR}/README.FreeBSD
|
2008-09-23 23:19:03 +02:00
|
|
|
|
2013-04-29 18:43:05 +02:00
|
|
|
.include <bsd.port.mk>
|