${INSTALL_DATA} problems

Aristedes Maniatis amaniatis at apache.org
Thu Sep 8 12:27:39 UTC 2016


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


More information about the freebsd-ports mailing list