[Bug 193134] [NEW PORT] www/seafile: Framework for writing networked applications

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 5 06:52:02 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193134

--- Comment #25 from John Marino <marino at FreeBSD.org> ---
now that everything is cleaned up per request, the actual code has come out. 
e.g.

X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/fileserver \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/fileserver
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-fsck \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seaf-fsck
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seafserv-gc \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seafserv-gc
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-fuse \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seaf-fuse
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-migrate \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seaf-migrate
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-server \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seaf-server
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seaf-server-init \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seaf-server-init
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seafile-controller \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seafile-controller
X    ${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/seafserv-tool \
X        ${STAGEDIR}${WWWDIR}/seafile/bin/seafserv-tool


I see you are installing programs that are already in $STAGEDIR, apparently for
the purpose having two names for the same program.  Normally sym links used for
this.

try this:
(cd ${STAGEDIR}${PREFIX}/bin/seafile && \
    ${LN} -s ../fileserver && \
    ${LN} -s ../seaf-fsck && \
    ..etc)

You could also use .for/.endfor loops but I think the above is more clear

This assumes having installing the same program in 2 places is really desired. 
Is it?  Why are these being put in seafile/bin ?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list