From owner-freebsd-ports@FreeBSD.ORG Fri Jun 27 13:10:11 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01CDB106568B for ; Fri, 27 Jun 2008 13:10:11 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id AB8838FC26 for ; Fri, 27 Jun 2008 13:10:10 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: by py-out-1112.google.com with SMTP id p76so106528pyb.10 for ; Fri, 27 Jun 2008 06:10:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ssK8EXOYxZ+IY0BlhhkUhQFCWzQc9hbps0r3KaWHa2k=; b=Na4A40pxBipuBNnxxt98RP0aPlIfCNX1raLGVwmvIAF4HVXeCma6+YDoee/NeAp4Ik KsGhygsAECw1xE1Vud70ENzr0r71388SlF4f/O7w+9WA5nJikSwhlI+nC3hpfs6je3uU Js+logRfmjsnCGao2KsIhc4wt181zdD0HXaFQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=r68sx1AERjB68cfgo0AHPYYfbINAe/idFNN216VR/uwMtFi3U4jNxg8WHeyc9go9kd VVQqNhg0nSpN3vqbuV9N5f3PrpXoDgih10Up0HOQjamGVfobLB+oDiQlN6ZKYIUP2Rul 27hJXpYxmE1M8PKdHXyJMeVYLTi4ZZ0+mNJXU= Received: by 10.114.25.3 with SMTP id 3mr1351662way.22.1214572208915; Fri, 27 Jun 2008 06:10:08 -0700 (PDT) Received: by 10.114.254.11 with HTTP; Fri, 27 Jun 2008 06:10:08 -0700 (PDT) Message-ID: <8d23ec860806270610h15cd0560j6a8089ea0b9c228b@mail.gmail.com> Date: Fri, 27 Jun 2008 09:10:08 -0400 From: Schiz0 To: "Pietro Cerutti" In-Reply-To: <48642809.7080709@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8d23ec860806261452v4b7f8abp7faf21258380982@mail.gmail.com> <48642809.7080709@FreeBSD.org> Cc: freebsd-ports@freebsd.org Subject: Re: Creating New Port - Question about Installation X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 13:10:11 -0000 On Thu, Jun 26, 2008 at 7:36 PM, Pietro Cerutti wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Schiz0 wrote: > | Hey, > | > | I'm attempting to create a new port for btsh: > | http://btsh.sourceforge.net/ > | The website isn't finished yet, but it's a command-line interface for > | torrent websites. > | > | Anyway, the original .tar.bz2 that the author wrote has no configure > | script or makefile. All it has is an "INSTALL" script. The INSTALL > | script prompts for a directory to install to, then copies the proper > | files over and sets some permissions. > | > | I'm wondering how I can create a port out of this. I read the porters > | handbook and developed a Makefile so far: > | > | -------------------- > | # Ports Makefile for: btsh > | # Date created: June 26 2008 > | # Whom: Schiz0 > | # > | # $FreeBSD$ > | # > | PORTNAME=btsh > | PORTVERSION=0.1.1 > | CATEGORIES=net-p2p shells > | # Eventually the project is moving over to sourceforge > | MASTER_SITES=http://labgecko.com/btsh/ > | MAINTAINER=Schiz0phrenic21@gmail.com > | COMMENT=BitTorrent SHell > | BUILD_DEPENDS=bash:${PORTSDIR}/shells/bash > | BUILD_DEPENDS=wget:${PORTSDIR}/ftp/wget > > The second BUILD_DEPENDS definition will overwrite the first one. Use: > > BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ > wget:${PORTSDIR}}/ftp/wget > > Moreover, sure they're not RUN_DEPENDS as well? > Ah, thank you. They are RUN_DEPENDS, but I didn't think I needed to specify bash and wget in both of them. I'll fix that. Thanks.