forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (32 loc) · 1.26 KB
/
Makefile
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
# Created by: KIRIYAMA Kazuhiko <[email protected]>
# $FreeBSD$
PORTNAME= eyeclock
PORTVERSION= 2.0
PORTREVISION= 4
CATEGORIES= x11-clocks
MASTER_SITES= http://ftp.vector.co.jp/12/89/1347/
DISTNAME= eyeclk20
MAINTAINER= [email protected]
COMMENT= Clock with eyes following the mouse pointer
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ENV= X11BASE=${LOCALBASE}
USE_XORG= x11 xau xdmcp xpm xt ice
USES= tar:tgz
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>