Stage support

This commit is contained in:
Antoine Brodin 2013-12-29 15:29:13 +00:00
parent 2301b1ac49
commit aba0814e61
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338010
2 changed files with 8 additions and 10 deletions

View file

@ -10,31 +10,28 @@ DISTNAME= eyeclk20
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A clock with eyes following the mouse pointer
COMMENT= Clock with eyes following the mouse pointer
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ENV= X11BASE=${LOCALBASE}
USE_XORG= x11 xau xdmcp xpm xt ice
MAN1= eyeclock.1
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s#gcc#${CC}#" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/eyeclock ${PREFIX}/bin/eyeclock
${INSTALL_PROGRAM} ${WRKSRC}/eyeclock ${STAGEDIR}${PREFIX}/bin/eyeclock
.for link in boyclock daemonclock girlclock henohenoclock margueriteclock \
octopusclock punpunclock silicagelclock taroclock umeharaclock
${LN} -sf eyeclock ${PREFIX}/bin/${link}
${LN} -sf eyeclock ${STAGEDIR}${PREFIX}/bin/${link}
.endfor
${INSTALL_MAN} ${WRKSRC}/eyeclock.man ${MANPREFIX}/man/man1/eyeclock.1
${INSTALL_MAN} ${WRKSRC}/eyeclock.man ${STAGEDIR}${MANPREFIX}/man/man1/eyeclock.1
${INSTALL_DATA} ${WRKSRC}/EyeClock.daemon \
${PREFIX}/lib/X11/app-defaults/EyeClock
@${MKDIR} ${PREFIX}/lib/X11/EyeClock
${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} ${PREFIX}/lib/X11/EyeClock
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/lib/X11/EyeClock
.endfor
.include <bsd.port.mk>

View file

@ -95,4 +95,5 @@ lib/X11/EyeClock/taro_left_eye.xpm
lib/X11/EyeClock/taro_right_core.xpm
lib/X11/EyeClock/taro_right_eye.xpm
lib/X11/app-defaults/EyeClock
man/man1/eyeclock.1.gz
@dirrm lib/X11/EyeClock