hyphen in PORTNAME... still bad?

Juergen Lock nox at jelal.kn-bremen.de
Fri Mar 25 20:07:26 UTC 2011


Hi!

 Anyone remember the reason behind this portlint warning and whether
it can be ignored?  (like several ports seem to do, even high-profile
ones like boost-libs or docbook-xml...)

	WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX.

 I'm sure there must have been a reason for the warning, but is it
still valid?

 And in case it matters, my specific case would be vdr plugin ports,
up to now I had my shars install them as vdr_plugin_foo-<version>
because of the warning, but since I still have the port dirs named
vdr-plugin-foo there was concern about this being an inconsisteny,
and also I somehow like the names with hyphens better. :)

 Or should I really set PKGNAMEPREFIX= vdr-plugin- like the
warning suggests?  Most of the plugin distfiles are named like
vdr-foo-<version>.tgz in case it matters, example:
vdr-streamdev-0.5.1.tgz for vdr-plugin-streamdev.

 Thanx,
	Juergen


More information about the freebsd-ports mailing list