aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2007-07-04 14:51:38 +0800
committerhrs <hrs@FreeBSD.org>2007-07-04 14:51:38 +0800
commita0f01a56a3408314df8e07b71ce2519f38bb379a (patch)
treed563e6e84d9b4d74a67dbca87e350df6859e38da /print
parentaf7e6eeb7497dc6b34b3d016d6dce3b6268115f8 (diff)
downloadfreebsd-ports-graphics-a0f01a56a3408314df8e07b71ce2519f38bb379a.tar.gz
freebsd-ports-graphics-a0f01a56a3408314df8e07b71ce2519f38bb379a.tar.zst
freebsd-ports-graphics-a0f01a56a3408314df8e07b71ce2519f38bb379a.zip
Move a line to creat the install directory to the do-install
target. This fixes installation by a non-root user. Spotted by: mi
Diffstat (limited to 'print')
-rw-r--r--print/acroread7/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/print/acroread7/Makefile b/print/acroread7/Makefile
index 325099d9ced..b868c078bfb 100644
--- a/print/acroread7/Makefile
+++ b/print/acroread7/Makefile
@@ -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