forked from Lainports/freebsd-ports
from these ports. Other changes: - convert Makefile header - convert to optionsNG - remove indefinite article from comment - drop support for FreeBSD < 8.0 - pet portlint (leave library ABI versions in LIB_DEPENDS) - net-mgmt/spectools: change option name from GTK to GTK2 to use default description from bsd.options.desc.mk Approved by: portmgr (bapt)
48 lines
1,018 B
Makefile
48 lines
1,018 B
Makefile
# Created by: Jung-uk Kim <jkim@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= asusoled
|
|
PORTVERSION= 0.10
|
|
PORTREVISION= 7
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= jkim
|
|
|
|
MAINTAINER= jkim@FreeBSD.org
|
|
COMMENT= Utility for ASUS USB OLED Display
|
|
|
|
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}/lib/X11/fonts
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDATA)
|
|
@${MKDIR} ${DATADIR}
|
|
.for i in ${PORTDATA}
|
|
@${INSTALL_DATA} ${WRKSRC}/data/${i} ${DATADIR}
|
|
.endfor
|
|
.endif
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${CAT} ${PKGMESSAGE} > ${WRKSRC}/README.FreeBSD
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
@${ECHO}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO}
|
|
|
|
.include <bsd.port.mk>
|