blob: 0b88be42fce111e2301272d491b4c846dfc95e48 (
plain)
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
32
33
34
35
36
37
38
39
40
|
PORTNAME= asusoled
PORTVERSION= 0.10
PORTREVISION= 10
CATEGORIES= sysutils
MASTER_SITES= LOCAL/jkim
MAINTAINER= jkim@FreeBSD.org
COMMENT= Utility for ASUS USB OLED Display
LICENSE= GPLv2
RUN_DEPENDS= ${FONTDIR}/TTF/luxisr.ttf:x11-fonts/font-bh-ttf
USES= sdl
USE_SDL= image sdl ttf
USE_RC_SUBR= asusoled oled_clock
PORTDATA= asus.png asus_clock.png
PORTDOCS= README.FreeBSD
PLIST_FILES= sbin/asusoled
SUB_FILES= pkg-message
MAKE_ARGS+= TTF_FONT=${FONTDIR}/TTF/luxisr.ttf
FONTDIR?= ${LOCALBASE}/share/fonts
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/asusoled ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${DATADIR}
.for i in ${PORTDATA}
${INSTALL_DATA} ${WRKSRC}/data/${i} ${STAGEDIR}${DATADIR}
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PKGMESSAGE} ${STAGEDIR}${DOCSDIR}/README.FreeBSD
.include <bsd.port.mk>
|