summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-05-29 19:07:10 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-05-29 19:07:10 +0000
commitf3f589368558098afebdff077633620f5e628ab7 (patch)
tree480fbf7fde575e487818402bc6f4d15b3b6c37f6 /print
parentNone of the other acroread ports have the version number in the port name. (diff)
USE_LINUX rather than explicitly listing the dependency.
Notes
Notes: svn path=/head/; revision=60264
Diffstat (limited to 'print')
-rw-r--r--print/acroread/Makefile10
-rw-r--r--print/acroread4/Makefile2
-rw-r--r--print/acroread5/Makefile3
3 files changed, 9 insertions, 6 deletions
diff --git a/print/acroread/Makefile b/print/acroread/Makefile
index a7ac7a9f4de9..dc399c479efe 100644
--- a/print/acroread/Makefile
+++ b/print/acroread/Makefile
@@ -17,11 +17,12 @@ DISTNAME= ar302lin
DISTNAME= ar302osf
.endif
EXTRACT_SUFX= .tar.Z
+LATEST_LINK= acroread3
MAINTAINER= tg@FreeBSD.org
.if ${ARCH} == "i386"
-RUN_DEPENDS= /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base
+USE_LINUX= yes
.elif ${ARCH} == "alpha"
RUN_DEPENDS= /compat/osf1/usr/shlib/libc.so:${PORTSDIR}/emulators/osf1_base
.endif
@@ -61,9 +62,12 @@ post-install:
.endif
@cd ${PREFIX}/Acrobat3/bin && \
${PATCH} --quiet < ${FILESDIR}/acroread.diff && \
- ${INSTALL_SCRIPT} ${PREFIX}/Acrobat3/bin/acroread ${PREFIX}/bin && \
+ ${INSTALL_SCRIPT} ${PREFIX}/Acrobat3/bin/acroread \
+ ${PREFIX}/bin/acroread3 && \
${RM} acroread.orig
- @${CHMOD} +x ${PREFIX}/bin/acroread
+ @${CHMOD} +x ${PREFIX}/bin/acroread3
+ [ -e ${PREFIX}/bin/acroread ] \
+ || (cd ${PREFIX}/bin ; ${LN} -s acroread3 acroread)
@${ECHO_MSG} "Be sure to read the license agreement in"
@${ECHO_MSG} "${PREFIX}/Acrobat3/Reader/License.pdf"
diff --git a/print/acroread4/Makefile b/print/acroread4/Makefile
index 32e5c21f11ab..173579f00289 100644
--- a/print/acroread4/Makefile
+++ b/print/acroread4/Makefile
@@ -19,7 +19,7 @@ DISTNAME= fdec-rs-405
MAINTAINER= dima@FreeBSD.org
.if ${ARCH} == "i386"
-RUN_DEPENDS= /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base
+USE_LINUX= yes
.elif ${ARCH} == "alpha"
RUN_DEPENDS= /compat/osf1/usr/shlib/libc.so:${PORTSDIR}/emulators/osf1_base
.endif
diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile
index b28cd55f2e7b..733bf700db07 100644
--- a/print/acroread5/Makefile
+++ b/print/acroread5/Makefile
@@ -15,10 +15,9 @@ DISTNAME= linux-505
.endif
MAINTAINER= osa@FreeBSD.org.ru
-RUN_DEPENDS= /compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base
-
ONLY_FOR_ARCHS= i386
+USE_LINUX= yes
NO_FILTER_SHLIBS= yes
.if ${ARCH} == "i386"