Subject: Re: Converting pkgsrc packages from FreeBSD ports
To: Roman Kulik <romankul@hotmail.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 06/29/2005 11:55:37
On Wed, 29 Jun 2005, Roman Kulik wrote:

> Since FreeBSD has more packages available then NetBSD, I'm using port2pkg
> package to convert FreeBSD ports to NetBSD packages.

I don't know if port2pkg has been maintained well.

This is not needed:

USE_BUILDLINK3= YES

and also not needed:

include "../../mk/bsd.prefs.mk"

> pkglint gave me the following warnings:
>
> WARN: "$NetBSD$" expected.
>
> even so the first line of the Makefile seems to have the correct form
>
>  # $NetBSD: Makefile,v 1.1 2005/5/5 15:26:55 kuli0020 Exp $

Maybe that warning is from another file?

> And another warning:
>
> WARN: "BUILD_DEPENDS" has to appear earlier.

I don't know.

Also, if applicable for perl modules use:
USE_LANGUAGES=	# empty

 Jeremy C. Reed

 	  	 	 Media Relations and Publishing Services
	  	 	 http://www.reedmedia.net/