svn commit: r446066 - in head/databases: . postgresql-orafce

Torsten Zuehlsdorff tz at FreeBSD.org
Wed Jul 19 09:11:07 UTC 2017


On 17.07.2017 16:45, Mathieu Arnold wrote:
> Le 17/07/2017 à 13:15, Torsten Zuehlsdorff a écrit :
>> +PLIST_FILES=	lib/postgresql/orafce.so \
>> +		%%PORTDOCS%%%%DOCSDIR%%/README.asciidoc \
>> +		share/postgresql/extension/orafce--3.2--3.3.sql \
>> +		share/postgresql/extension/orafce--3.3--3.4.sql \
>> +		share/postgresql/extension/orafce--3.4.sql \
>> +		share/postgresql/extension/orafce.control
> 
> 1) remove the README.asciidoc from there, and add PORTDOCS=README.asciidoc
> 2) you never use %%foo%% placeholders in PLIST_FILES.  The placeholders
> are necessary to carry variables from the Makefile to the plist file.
> In this case, you are in the Makefile, so you do not need to add one
> more level of indirection to use the placeholders.
> 
> If you were dead set against using PORTDOCS, you could use:
> 
> DOCS_PLIST_FILES= ${DOCSDIR}/README.asciidoc

Thank you for the explanation! I wasn't aware of this. Fixed in r446189.

Greetings,
Torsten


More information about the svn-ports-all mailing list