summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-29 19:07:10 +0000
committerobrien <obrien@FreeBSD.org>2002-05-29 19:07:10 +0000
commit8cae3e3051a463b8f36d4c8ea7726a9dd07392fa (patch)
tree17876ed12111d1cd6fc38c79f52a1a12c13a6f14 /print
parenta84b639c096a14b5ea50f355de2cd9dfbed14fac (diff)
downloadFreeBSD-ports-8cae3e3051a463b8f36d4c8ea7726a9dd07392fa.zip
FreeBSD-ports-8cae3e3051a463b8f36d4c8ea7726a9dd07392fa.tar.gz
USE_LINUX rather than explicitly listing the dependency.
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 a7ac7a9..dc399c4 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 32e5c21..173579f 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 b28cd55..733bf70 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"
OpenPOWER on IntegriCloud