Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2016 22:27:34 +1000
From:      Aristedes Maniatis <amaniatis@apache.org>
To:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   ${INSTALL_DATA} problems
Message-ID:  <cb59dad8-c6a0-ffc1-4705-9e8a66ca2679@apache.org>

next in thread | raw e-mail | index | archive | help
I'm trying to create a port with a command like this:

do-install:
        ${MKDIR} ${STAGEDIR}${SOLR_HOME}
        ${INSTALL_DATA} ${WRKSRC}/dist ${STAGEDIR}${SOLR_HOME}

However the output is

/bin/mkdir -p /var/poudriere/ports/default/textproc/apache-solr/work/stage/usr/local/solr
install  -m 0644 /var/poudriere/ports/default/textproc/apache-solr/work/solr-5.5.2/dist /var/poudriere/ports/default/textproc/apache-solr/work/stage/usr/local/solr
install: /var/poudriere/ports/default/textproc/apache-solr/work/solr-5.5.2/dist: Inappropriate file type or format
*** Error code 71

{CP} works fine, but I want to use {INSTALL_DATA} so I can also add the -o flag.


What am I doing wrong?



Please cc me as I'm not on the list.


Thanks
Ari



-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb59dad8-c6a0-ffc1-4705-9e8a66ca2679>