Date: Fri, 27 Jun 2008 09:10:08 -0400 From: Schiz0 <schiz0phrenic21@gmail.com> To: "Pietro Cerutti" <gahr@freebsd.org> Cc: freebsd-ports@freebsd.org Subject: Re: Creating New Port - Question about Installation Message-ID: <8d23ec860806270610h15cd0560j6a8089ea0b9c228b@mail.gmail.com> In-Reply-To: <48642809.7080709@FreeBSD.org> References: <8d23ec860806261452v4b7f8abp7faf21258380982@mail.gmail.com> <48642809.7080709@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 26, 2008 at 7:36 PM, Pietro Cerutti <gahr@freebsd.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8d23ec860806270610h15cd0560j6a8089ea0b9c228b>