freebsd-ports/sysutils/asusoled/Makefile

45 lines
977 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= asusoled
PORTVERSION= 0.10
PORTREVISION= 10
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jkim
MAINTAINER= jkim@FreeBSD.org
COMMENT= Utility for ASUS USB OLED Display
2014-01-07 02:29:30 +01:00
LICENSE= GPLv2
RUN_DEPENDS= ${FONTDIR}/TTF/luxisr.ttf:${PORTSDIR}/x11-fonts/font-bh-ttf
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
2014-01-07 02:29:30 +01:00
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
2014-01-07 02:29:30 +01:00
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/asusoled ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${DATADIR}
.for i in ${PORTDATA}
2014-01-07 02:29:30 +01:00
@${INSTALL_DATA} ${WRKSRC}/data/${i} ${STAGEDIR}${DATADIR}
.endfor
.if ${PORT_OPTIONS:MDOCS}
2014-01-07 02:29:30 +01:00
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${PKGMESSAGE} ${STAGEDIR}${DOCSDIR}/README.FreeBSD
.endif
.include <bsd.port.mk>