Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2014 08:24:34 +0400
From:      Sergei Vyshenski <svysh.fbsd@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   handling heterostructured tarball
Message-ID:  <CAHU0Y-6YBnXKTcjQAkW5q4hmZFYpn4Xy_Vcsv_sV_16nbwJvYQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

A tarball of the original software has 2 subdirs in it:

1) subdir1 with a regular perl module with a Makefile.PL
2) subdir2 with related i18n stuff with a GNU Makefile.

How to port this software?

Was only able to invent a solution with two different ports (myport and
myport-i18n) which share the same distribution tarball, but have different
WRKSRC settings:

myport has

WRKSRC=    .../subdir1

myport-i18n has

WRKSRC=    .../subdir2

But this solution puts extra load on committers, as both ports usually need
be updated simultaneously.

Is there a clever and methodical way to port this software?
Something similar to using SUBDIR construct from bsd.port.subdir.mk ?

Thank you very much ahead of time.
All the best,
Sergei



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHU0Y-6YBnXKTcjQAkW5q4hmZFYpn4Xy_Vcsv_sV_16nbwJvYQ>