1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/x11-clocks/eyeclock/Makefile
Niclas Zeising 4c46ca73d8 Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 18:36:55 +00:00

40 lines
1.3 KiB
Makefile

# Created by: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
# $FreeBSD$
PORTNAME= eyeclock
PORTVERSION= 2.0
PORTREVISION= 4
CATEGORIES= x11-clocks
MASTER_SITES= http://ftp.vector.co.jp/12/89/1347/
DISTNAME= eyeclk20
MAINTAINER= ports@FreeBSD.org
COMMENT= Clock with eyes following the mouse pointer
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ENV= X11BASE=${LOCALBASE}
USES= tar:tgz xorg
USE_XORG= x11 xau xdmcp xpm xt ice
DESKTOP_ENTRIES="EyeClock" "" "" "eyeclock" "" ""
post-patch:
@${REINPLACE_CMD} -e "s#gcc#${CC}#" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/eyeclock ${STAGEDIR}${PREFIX}/bin/eyeclock
.for link in boyclock daemonclock girlclock henohenoclock margueriteclock \
octopusclock punpunclock silicagelclock taroclock umeharaclock
${LN} -sf eyeclock ${STAGEDIR}${PREFIX}/bin/${link}
.endfor
${INSTALL_MAN} ${WRKSRC}/eyeclock.man ${STAGEDIR}${MANPREFIX}/man/man1/eyeclock.1
${INSTALL_DATA} ${WRKSRC}/EyeClock.daemon \
${STAGEDIR}${PREFIX}/lib/X11/app-defaults/EyeClock
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/EyeClock
.for file in CHANGE COPYRIGHT EyeClock.daemon EyeClock.normal EyeClock.penguin \
Makefile OMAKE.jpn README.jpn xpm/*.xpm
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/lib/X11/EyeClock
.endfor
.include <bsd.port.mk>