From owner-freebsd-ports@FreeBSD.ORG Thu Jun 26 23:36:48 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 2BCA8106567A for ; Thu, 26 Jun 2008 23:36:48 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id B4AB08FC14 for ; Thu, 26 Jun 2008 23:36:47 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KC11C-0002J5-59; Fri, 27 Jun 2008 01:36:46 +0200 Message-ID: <48642809.7080709@FreeBSD.org> Date: Fri, 27 Jun 2008 01:36:41 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: Schiz0 References: <8d23ec860806261452v4b7f8abp7faf21258380982@mail.gmail.com> In-Reply-To: <8d23ec860806261452v4b7f8abp7faf21258380982@mail.gmail.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: 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: Thu, 26 Jun 2008 23:36:48 -0000 -----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? | USE_BZIP2=yes | NO_INSTALL_MANPAGES=yes | .include | -------------------- | | Basically, I'm wondering how I can do this. Should I set NO_BUILD and | HAS_CONFIGURE to prevent FreeBSD from trying to build and configure it | itself? | | Also, is this port in the correct cateorgies? This is not a BitTorrent | client, it's just a cli interface to the torrent websites. It lets | users read the forums, search for torrents, reply to inbox PMs, etc. | | This is my first attempt at building a port, so any | pointers/suggestions/etc will be extremely helpful. | | Thank you! | _______________________________________________ | freebsd-ports@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-ports | To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhkKAgACgkQwMJqmJVx944hLQCeOBx5OTW1axIuMyKBVS+HpKbw CucAni42lJp9SPlffVaZAue43qx/agZq =A5nu -----END PGP SIGNATURE-----