1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Move a line to creat the install directory to the do-install

target.  This fixes installation by a non-root user.

Spotted by:	mi
This commit is contained in:
Hiroki Sato 2007-07-04 06:51:38 +00:00
parent db68f57dd7
commit c693557a24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194858

View File

@ -72,13 +72,13 @@ INSTALLEXEC= ${SETENV} UNAME_s=Linux \
${SH} ./INSTALL --install_path=${INSTALLDIR} ${POSTPROCESS}
pre-install:
@${MKDIR} ${INSTALLDIR}
@${MKDIR} ${WRKDIR}/bin
@${INSTALL_SCRIPT} \
${WRKDIR}/ln ${WRKDIR}/rm ${WRKDIR}/mv \
${WRKDIR}/bin
do-install:
@${ECHO_CMD} Installing...
@${MKDIR} ${INSTALLDIR}
@cd ${WRKSRC} && ${SETENV} PATH=${WRKDIR}/bin:${PATH} ${INSTALLEXEC}
${CHMOD} 0 ${INSTALLDIR}/Reader/intellinux/plug_ins/PPKLite.api
${BRANDELF} -t Linux ${INSTALLDIR}/Reader/intellinux/bin/acroread