// Copyright 2016 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // The go-ethereum library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see . package ethclient import "github.com/ethereum/go-ethereum" // Verify that Client implements the ethereum interfaces. var ( _ = ethereum.ChainReader(&Client{}) _ = ethereum.TransactionReader(&Client{}) _ = ethereum.ChainStateReader(&Client{}) _ = ethereum.ChainSyncReader(&Client{}) _ = ethereum.ContractCaller(&Client{}) _ = ethereum.GasEstimator(&Client{}) _ = ethereum.GasPricer(&Client{}) _ = ethereum.LogFilterer(&Client{}) _ = ethereum.PendingStateReader(&Client{}) // _ = ethereum.PendingStateEventer(&Client{}) _ = ethereum.PendingContractCaller(&Client{}) ) ='h' onchange='this.form.submit();'> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogblamecommitdiffstats
path: root/irc/gdesklets-irc/Makefile
blob: 2a522255f19606317219b6a022af324702956963 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                     
                 






                                                        
                                                           
































                                                                                                         
# New ports collection makefile for:    gdesklets-irc
# Date created:     6 May 2004
# Whom:         Hye-Shik Chang
#
# $FreeBSD$
#

PORTNAME=   irc
PORTVERSION=    1.2
PORTREVISION=   2
CATEGORIES= irc gnome deskutils
MASTER_SITES=   http://gdesklets.gnomedesktop.org/files/
PKGNAMEPREFIX=  gdesklets-

MAINTAINER= perky@FreeBSD.org
COMMENT=    An IRC display and sensor for gdesklets

RUN_DEPENDS=    gdesklets:${PORTSDIR}/deskutils/gdesklets \
        ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twisted

USE_PYTHON= yes
USE_X_PREFIX=   yes

NAME=       irc
DATADIR=    ${PREFIX}/share/gnome/gdesklets
LANG=       ko
PKGMESSAGE= ${WRKDIR}/pkg-message
WRKSRC=     ${WRKDIR}/${NAME}

do-build:
    @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
    @${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' > ${PKGMESSAGE}

do-install:
    @${MKDIR} ${DATADIR}/Displays/${NAME}/gfx
    @${MKDIR} ${DATADIR}/Sensors/${NAME}/gfx
    @${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/Sensors/${NAME}/
.for ii in ${LANG}
    @${MKDIR} ${DATADIR}/Sensors/${NAME}/locale/${ii}/LC_MESSAGES
    @${INSTALL_DATA} ${WRKSRC}/${NAME}/locale/${ii}/LC_MESSAGES/*.mo \
        ${DATADIR}/Sensors/${NAME}/locale/${ii}/LC_MESSAGES/
.endfor
    @${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/Displays/${NAME}/
    @${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/Displays/${NAME}/gfx/

post-install:
    @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/Sensors/${NAME}
    @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/Sensors/${NAME}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>