From: Ashish SHUKLA on
Hi,

Recently I've got the chance of playing with a port[1] which installs
localized manual pages :).

For the locales of manual pages, I removed the lines from pkg-plist
corresponding to manual pages and their corresponding '@dirrmtry' and added
following lines:

#v+
MAN1= qelectrotech.1
MANLANG= "" es fr.ISO8859-1 fr.UTF-8 fr pt_PT
MANCOMPRESSED= yes
#v-

This worked great and the man pages were recorded as expected, but tinderbox
resulted in:

#v+
list of extra files and directories in / (not present on clean system but present after everything was deinstalled)
1110986 3 drwxr-xr-x 3 root wheel 3 Jul 17 12:40 usr/local/man/fr.ISO8859-1
1110987 3 drwxr-xr-x 2 root wheel 2 Jul 17 12:40 usr/local/man/fr.ISO8859-1/man1
1110989 3 drwxr-xr-x 3 root wheel 3 Jul 17 12:40 usr/local/man/fr.UTF-8
1110990 3 drwxr-xr-x 2 root wheel 2 Jul 17 12:40 usr/local/man/fr.UTF-8/man1
1110993 3 drwxr-xr-x 3 root wheel 3 Jul 17 12:40 usr/local/man/pt_PT
1110994 3 drwxr-xr-x 2 root wheel 2 Jul 17 12:40 usr/local/man/pt_PT/man1
#v-

What do you say ? Should I add '@dirrmtry' corresponding to above manual
directories ? Or, for all manual directories ? Or just ignore the warning ?

References:
[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/146513

TiA
--
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/

“There is nothing new to be discovered in physics now; All that
remains is more and more precise measurement.” (Lord Kelvin, 1900)
From: Anonymous on
ashish(a)FreeBSD.org (Ashish SHUKLA) writes:

[...]
> #v+
> list of extra files and directories in / (not present on clean system but present after everything was deinstalled)
> 1110986 3 drwxr-xr-x 3 root wheel 3 Jul 17 12:40 usr/local/man/fr.ISO8859-1
> 1110987 3 drwxr-xr-x 2 root wheel 2 Jul 17 12:40 usr/local/man/fr.ISO8859-1/man1
> 1110989 3 drwxr-xr-x 3 root wheel 3 Jul 17 12:40 usr/local/man/fr.UTF-8
> 1110990 3 drwxr-xr-x 2 root wheel 2 Jul 17 12:40 usr/local/man/fr.UTF-8/man1
> 1110993 3 drwxr-xr-x 3 root wheel 3 Jul 17 12:40 usr/local/man/pt_PT
> 1110994 3 drwxr-xr-x 2 root wheel 2 Jul 17 12:40 usr/local/man/pt_PT/man1
> #v-
>
> What do you say ? Should I add '@dirrmtry' corresponding to above manual
> directories ? Or, for all manual directories ? Or just ignore the warning ?

I'd add @dirrmtry only for those that are not in mtree, e.g.

$ mtree -f $(make -V MTREE_FILE) -p $(make -V PREFIX)

>
> References:
> [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/146513

Why do you need to copy license file in post-extract?
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Ashish SHUKLA on
Anonymous writes:
> ashish(a)FreeBSD.org (Ashish SHUKLA) writes:

> [...]
>> #v+
>> list of extra files and directories in / (not present on clean system but present after everything was deinstalled)
>> 1110986 3 drwxr-xr-x 3 root wheel 3 Jul 17 12:40 usr/local/man/fr.ISO8859-1
>> 1110987 3 drwxr-xr-x 2 root wheel 2 Jul 17 12:40 usr/local/man/fr.ISO8859-1/man1
>> 1110989 3 drwxr-xr-x 3 root wheel 3 Jul 17 12:40 usr/local/man/fr.UTF-8
>> 1110990 3 drwxr-xr-x 2 root wheel 2 Jul 17 12:40 usr/local/man/fr.UTF-8/man1
>> 1110993 3 drwxr-xr-x 3 root wheel 3 Jul 17 12:40 usr/local/man/pt_PT
>> 1110994 3 drwxr-xr-x 2 root wheel 2 Jul 17 12:40 usr/local/man/pt_PT/man1
>> #v-
>>
>> What do you say ? Should I add '@dirrmtry' corresponding to above manual
>> directories ? Or, for all manual directories ? Or just ignore the warning ?

> I'd add @dirrmtry only for those that are not in mtree, e.g.

> $ mtree -f $(make -V MTREE_FILE) -p $(make -V PREFIX)

AFAICS, those are the only directories not present in MTREE_FILE, which is why
Tinderbox complained of their presence.

>>
>> References:
>> [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/146513

> Why do you need to copy license file in post-extract?

I added because specifying '${WRKSRC}/LICENSE' as 'LICENSE_FILE' results in
a conflict because License infrastructure in ports system also creates a file
named LICENSE. So, I'm just copying it to some name other than LICENSE, and
than mentioning that in the LICENSE_FILE.

Thanks
--
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/

“They that give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.” (Benjamin Franklin)
From: Ashish SHUKLA on
Ashish SHUKLA writes:

[...]

> than mentioning that in the LICENSE_FILE.

s/than/then/

--
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/

“In three words I can sum up everything I've learned about life — It
goes on.” (Robert Frost)