From b9b3efb09f9281a5859646d2dcf36b5813132efb Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 9 Jan 2017 11:16:06 +0100 Subject: all: fix ineffectual assignments and remove uses of crypto.Sha3 go get github.com/gordonklaus/ineffassign ineffassign . --- console/console.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'console') diff --git a/console/console.go b/console/console.go index 8865f5e89..9bb3df926 100644 --- a/console/console.go +++ b/console/console.go @@ -226,8 +226,8 @@ func (c *Console) AutoCompleteInput(line string, pos int) (string, []string, str } // Chunck data to relevant part for autocompletion // E.g. in case of nested lines eth.getBalance(eth.coinb - start := 0 - for start = pos - 1; start > 0; start-- { + start := pos - 1 + for ; start > 0; start-- { // Skip all methods and namespaces (i.e. including te dot) if line[start] == '.' || (line[start] >= 'a' && line[start] <= 'z') || (line[start] >= 'A' && line[start] <= 'Z') { continue -- cgit alt='cgit logo'/> index : freebsd-ports
FreeBSD Ports (https://github.com/freebsd/freebsd-ports)
aboutsummaryrefslogblamecommitdiffstats
blob: 74f507fa712839965a1ccdfb7a97b5e60bb9b92f (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                            
                 
                         


                                                                         

                                 
                                                 
 
                                                       


                                                 
 
                   
                   

                                                               
                                            
 
                      
 




                                                                  
                      
# ex:ts=8
# New ports collection makefile for:    dact
# Date created:         May 2, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   dact
PORTVERSION=    0.8.11
PORTREVISION=   1
CATEGORIES= archivers
#MASTER_SITES=  http://www.rkeene.org/devel/
MASTER_SITES=   http://www.lbsd.k12.ms.us/~rkeene/www.rkeene.org/devel/ \
        http://www.jian.tv/pub/linux/distfiles/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Dynamic Adaptive Compression Tool

LIB_DEPENDS=    mcrypt.8:${PORTSDIR}/security/libmcrypt
.if !exists(/usr/bin/bzip2)
LIB_DEPENDS+=   bz2.1:${PORTSDIR}/archivers/bzip2
.endif

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN1=       dact.1

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/dact ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/dact.conf ${PREFIX}/etc
    ${INSTALL_MAN} ${WRKSRC}/Docs/dact.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>