setting the right package name [for a slave port]

Dan Langille dan.langille at gmail.com
Mon Jun 29 16:09:23 UTC 2015


re: https://reviews.freebsd.org/D2913

I'm creating two new slave python ports:

  devel/py-django16-tastypie-mongoengine
  www/py-django16-tastypie

These will be based on the master ports of the similar name but the
slaves will use django 1.6 (because security/py-crits needs django
1.6).

Is there a way to get the package name to reflect the port directory?

At present, www/py-django16-tastypie will have package:
py27-django-tastypie16-0.12.1

This is achieved via:

PORTNAME=       django-tastypie
PKGNAMESUFFIX=  16

-- 
Dan Langille - http://www.langille.org/


More information about the freebsd-python mailing list