From owner-freebsd-ports@FreeBSD.ORG Thu Jun 26 22:18:25 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 410E1106564A for ; Thu, 26 Jun 2008 22:18:25 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.233]) by mx1.freebsd.org (Postfix) with ESMTP id E98208FC14 for ; Thu, 26 Jun 2008 22:18:24 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so123557wra.27 for ; Thu, 26 Jun 2008 15:18:24 -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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=G9kqMYV/VSlXlUWKRMj/fb9tuJhPl6wc/n7r/0/gAko=; b=kr8L8RLvH96okE4JrW7sOzg9buUyG+5fHuUfO2mPRtuc0h0VQGTzzzXDx5lekFjZzk sY9WNDg1ZMdnMwPJZaOaZQ6D5y1Zw72cHm1+v7pxaeZ7J8jvxT6dR4uLZBTquE69lwhD tHiA4dobFaJbiDXmq2fJMYXlA0mpgIpMx3Dc4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=wQ7vG024xF4dz5psGLrGPvh203yCPfIk9TmLqfLWq619BrMeObjMCSsJuw1HF0JMV3 nl4Aq9C7EMMmwZZOTddqsp1sklKF3yTvJBvWTseuQ82j3AG6AecHDUcRdCmCJGKs17Gn Arqv611JRjZtHfQoY5zYW93gFdZCSUOYSXIC0= Received: by 10.90.29.17 with SMTP id c17mr485824agc.94.1214517124615; Thu, 26 Jun 2008 14:52:04 -0700 (PDT) Received: by 10.90.52.19 with HTTP; Thu, 26 Jun 2008 14:52:04 -0700 (PDT) Message-ID: <8d23ec860806261452v4b7f8abp7faf21258380982@mail.gmail.com> Date: Thu, 26 Jun 2008 17:52:04 -0400 From: Schiz0 To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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 22:18:25 -0000 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 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!