From owner-freebsd-ports@FreeBSD.ORG Sun Oct 14 07:29:42 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E69745BC for ; Sun, 14 Oct 2012 07:29:42 +0000 (UTC) (envelope-from nukama@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id AA16A8FC0A for ; Sun, 14 Oct 2012 07:29:42 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id k10so3942536iag.13 for ; Sun, 14 Oct 2012 00:29:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UGdRt/lyhTayc1RdkMmUB3xhdG1jOUSywgjcs3L1f7g=; b=kac0RhG0iNiScgKYFTW0aL9B2vNrEUNz5WKPcbkVehAn1gnP+6pUfPq5rHGboRNMaP GJbRw6SwuYMVuZPuf+PvmCDd8amCNeEIgY+xEl8suyEyWFLWmbi+Bm5DYhIu7bI1fSBO cP7qUwZXzyCaN/TCZEzazWblv8oYiihf7eXj1v8PdFu4zlhi6ACw+1lloGF0OkwcxsA5 J2A3FDFUjGX32Hqgy7InkHIyCxVD2Sa5ahCEPDyRDwjW492/6lMQ4v1WYBhi5OKQwFp/ Wb76Q6l+UzGmy0HW2ZyK6Mhr4aL+7j5KRhuvXYnZv/VdyAadmCEIqQAT0ixc22XpPwKv JxsA== MIME-Version: 1.0 Received: by 10.50.183.200 with SMTP id eo8mr6061431igc.54.1350199781923; Sun, 14 Oct 2012 00:29:41 -0700 (PDT) Received: by 10.50.9.71 with HTTP; Sun, 14 Oct 2012 00:29:41 -0700 (PDT) In-Reply-To: References: Date: Sun, 14 Oct 2012 07:29:41 +0000 Message-ID: Subject: Re: revving a dead port From: Hakisho Nukama To: Aryeh Friedman Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2012 07:29:43 -0000 On Sun, Oct 14, 2012 at 5:45 AM, Aryeh Friedman wrote: > My company is the original author devel/thistest and we have removed > the need for the web based download (thus making it buildable)... the > original maintainer (not us) is long gone and we want to re-release > the code under a license that allows complete distribution freedom... > I personally am also the maintainer of devel/aegis and devel/tailor > but for trivial modifications when taking the port over I have never > really worked with the port system and need advice on how to make a > port from scratch > _______________________________________________ > 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" You could start from editing the old port, files remain in version control under Attic: http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/thistest/Attic/ I test and create ports inside a jail, so that I spot missed dependencies, you could register at https://redports.org where a clean environment is used to test a build and also share your preliminary work in subversion. Fist thing to do - for me - is to make the distfiles fetch-able, so that I can try to build it from scratch. Normally I use a Makefile from another similar port and modify PORTNAME, PORTVERSION, MASTER_SITES and DISTFILES accordingly while deleting unneeded stuff.. After that I search for needed dependencies and include them in BUILD_DEPENDS, LIB_DEPENDS and RUN_DEPENDS. freshports.org has a nice feature, that lets you search for ports with a dependency on a specific port. http://www.freshports.org/search.php?stype=depends_all&query= You might follow the link CVSWeb on freshports and look into the Makefile to copy the right DEPENDS line to your Makefile. >From this point on it gets specific for each port and I would recommend to dig into http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html for further reference. Best Regards, Hakisho Nukama