mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
8426708b4e
A big Thank You to the original contributors of these ports: * Alexey Dokuchaev <danfe@regency.nsu.ru> * Anders Nordby <anders@fix.no> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Brian Handy <handy@physics.montana.edu> * Chris D. Faulhaber <jedgar@FreeBSD.org> * Chris Piazza <cpiazza@FreeBSD.org> * David Leonard <leonard@dstc.edu.au> * Emanuel Haupt <ehaupt@critical.ch> * FURUSAWA, Kazuhisa <kazu@jp.freebsd.org> * Greg Lewis <glewis@FreeBSD.org> * Harold Gutch <logix@foobar.franken.de> * Hendrik Scholz <hscholz@raisdorf.net> * J Han <hjh@best.com> * KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp> * Kris Kennaway <kris@FreeBSD.org> * Lars Koeller <lkoeller@cc.fh-lippe.de> * Martin Wilke (miwi@FreeBSD.org) * Nobuhiro Yasutomi * Patrick Li <pat@databits.net> et al * Per Otterstr=F6m <pelle@fukt.bth.se> * Randall Hopper <aa8vb@ipass.net> * Rich Neswold <rneswold@mcs.net> * Roman Bogorodskiy <bogorodskiy@inbox.ru> * Ulrich Spoerlein <uspoerlein@gmail.com> * Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> * desmo@bandwidth.org * gpalmer * gurkan@phys.ethz.ch * obrien@NUXI.com With hat: portmgr
52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
PORTNAME= emiclock
|
|
PORTVERSION= 2.0.2
|
|
PORTREVISION= 5
|
|
CATEGORIES= x11-clocks
|
|
MASTER_SITES= LOCAL/nyan
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Hyper-animated face analog clock for X11
|
|
|
|
LICENSE= UNKNOWN
|
|
LICENSE_NAME= Emi Clock for X11
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT.en
|
|
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
|
|
|
|
USES= iconv:build imake xorg
|
|
USE_XORG= ice sm x11 xaw xext xmu xpm xt
|
|
|
|
LANGRES= resources/R6/EUC/EmiClock.ad
|
|
LANGDIR= ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults
|
|
LANGDIR2= ${PREFIX}/lib/X11/ja_JP.EUC/app-defaults
|
|
LANGDIR_UTF8= ${PREFIX}/lib/X11/ja_JP.UTF-8/app-defaults
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|^#if defined.*\(FreeBSDArchitecture\).*|#ifdef \1| ; \
|
|
/MakeDir/s|EmiClockLib|$$(DESTDIR)&| ; \
|
|
/INSTALL/s|EmiClockLib|$$(DESTDIR)&|' ${WRKSRC}/Imakefile
|
|
@${REINPLACE_CMD} -e \
|
|
'/USE_SOUND/s|#undef|#define|' ${WRKSRC}/config.h
|
|
@${REINPLACE_CMD} -e \
|
|
'/soundcard.h/s|machine|sys|' ${WRKSRC}/include/sound.h
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${LANGDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${LANGRES} \
|
|
${STAGEDIR}${LANGDIR}/EmiClock)
|
|
@${MKDIR} ${STAGEDIR}${LANGDIR2}
|
|
${LN} -sf ../../ja_JP.eucJP/app-defaults/EmiClock \
|
|
${STAGEDIR}${LANGDIR2}/EmiClock
|
|
@${MKDIR} ${STAGEDIR}${LANGDIR_UTF8}
|
|
${ICONV_CMD} -f euc-jp -t utf-8 ${WRKSRC}/${LANGRES} > \
|
|
${STAGEDIR}${LANGDIR_UTF8}/EmiClock
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} COPYRIGHT COPYRIGHT.en \
|
|
${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|