60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
43 lines
942 B
Makefile
43 lines
942 B
Makefile
# $FreeBSD$
|
|
|
|
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:${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
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/asusoled ${STAGEDIR}${PREFIX}/sbin
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
.for i in ${PORTDATA}
|
|
@${INSTALL_DATA} ${WRKSRC}/data/${i} ${STAGEDIR}${DATADIR}
|
|
.endfor
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@${INSTALL_DATA} ${PKGMESSAGE} ${STAGEDIR}${DOCSDIR}/README.FreeBSD
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|