From owner-freebsd-ports@FreeBSD.ORG Mon Sep 15 04:24:35 2014 Return-Path: <owner-freebsd-ports@FreeBSD.ORG> Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E975F6B for <freebsd-ports@freebsd.org>; Mon, 15 Sep 2014 04:24:35 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5116B3A3 for <freebsd-ports@freebsd.org>; Mon, 15 Sep 2014 04:24:35 +0000 (UTC) Received: by mail-ig0-f170.google.com with SMTP id l13so1813007iga.1 for <freebsd-ports@freebsd.org>; Sun, 14 Sep 2014 21:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=2e8EmabF8sqduWpxlf4Bz/76zFmvKA45CFbfWN3nCvg=; b=mC2IFVha0RpUmeO4MPLaQ7PBb2vtvdwEK7kYsJ2EHa2vhU2WWt0ZhGCDLhwjif7fGp Nid8qegmdP1Ib+Z4Jg0751Tm96EX4Nz25evkUDEVWZtveKXzIMC13De2uGJ8N7GH7q2Q +qNu6Y6awL0bb/kve5iuARAt2tPZgM+swDFFX98nrWdK09i6USbXO91qhWKb1W3d+saO 2bqx75wreS0+fSo7u1lvNOdGByzB9LeWWnCepZ6mZVfN8Dc/2ClnpMAf7e/T9z6r1N3N 4hmKuBYIDL0EZsj3hfh/f7StbEqvDh4l1kIk0DW0mwLWWG9DdWSuGVL1crLHykPQroSJ 7h/w== MIME-Version: 1.0 X-Received: by 10.43.57.203 with SMTP id wh11mr4877976icb.54.1410755074614; Sun, 14 Sep 2014 21:24:34 -0700 (PDT) Received: by 10.107.40.3 with HTTP; Sun, 14 Sep 2014 21:24:34 -0700 (PDT) Date: Mon, 15 Sep 2014 08:24:34 +0400 Message-ID: <CAHU0Y-6YBnXKTcjQAkW5q4hmZFYpn4Xy_Vcsv_sV_16nbwJvYQ@mail.gmail.com> Subject: handling heterostructured tarball From: Sergei Vyshenski <svysh.fbsd@gmail.com> To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/> List-Post: <mailto:freebsd-ports@freebsd.org> List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 15 Sep 2014 04:24:35 -0000 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