aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-05-06 15:35:24 +0800
committervs <vs@FreeBSD.org>2004-05-06 15:35:24 +0800
commite58168fb85c087e9093378c9095ee21b1da6e3f7 (patch)
tree91326627104e1a234ce5c2de7c1522d747930070 /print
parent090528440bab3fdf642cf615433e5a47b88f7a6a (diff)
downloadfreebsd-ports-gnome-e58168fb85c087e9093378c9095ee21b1da6e3f7.tar.gz
freebsd-ports-gnome-e58168fb85c087e9093378c9095ee21b1da6e3f7.tar.zst
freebsd-ports-gnome-e58168fb85c087e9093378c9095ee21b1da6e3f7.zip
- tg@ drops maintainership :(
- Register CONFLICTS with acroread-5* - Fix packaging by deleting acroread.bak from REINPLACE-invocation - Pet portlint ('brandelf' -> ${BRANDELF} - Depend on linux-base-6 [1] PR: ports/46092 [1] Submitted by: Ronald F. Guilmette via trevor@ Approved by: tg@
Diffstat (limited to 'print')
-rw-r--r--print/acroread/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/print/acroread/Makefile b/print/acroread/Makefile
index f318ff3f85d0..660aabad1472 100644
--- a/print/acroread/Makefile
+++ b/print/acroread/Makefile
@@ -19,15 +19,16 @@ DISTNAME= ar302osf
EXTRACT_SUFX= .tar.Z
LATEST_LINK= acroread3
-MAINTAINER= tg@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= View, distribute and print PDF documents
.if ${ARCH} == "i386"
-USE_LINUX= yes
+RUN_DEPENDS=${LINUXBASE}/lib/ld-linux.so.1:${PORTSDIR}/emulators/linux_base-6
.elif ${ARCH} == "alpha"
RUN_DEPENDS= /compat/osf1/usr/shlib/libc.so:${PORTSDIR}/emulators/osf1_base
.endif
+CONFLICTS= acroread-5*
ONLY_FOR_ARCHS= i386 alpha
NO_FILTER_SHLIBS= yes
@@ -58,7 +59,7 @@ do-install:
post-install:
.if ${ARCH} == "i386"
@${REINPLACE_CMD} -e 's:Linux):FreeBSD|Linux):g' ${PREFIX}/Acrobat3/bin/acroread
- @brandelf -t Linux ${PREFIX}/Acrobat3/Reader/intellinux/bin/acroread
+ @${BRANDELF} -t Linux ${PREFIX}/Acrobat3/Reader/intellinux/bin/acroread
.elif ${ARCH} == "alpha"
@${REINPLACE_CMD} -e 's:OSF1):FreeBSD|OSF1):g' ${PREFIX}/Acrobat3/bin/acroread
.endif
@@ -66,7 +67,7 @@ post-install:
${PATCH} --quiet < ${FILESDIR}/acroread.diff && \
${INSTALL_SCRIPT} ${PREFIX}/Acrobat3/bin/acroread \
${PREFIX}/bin/acroread3 && \
- ${RM} acroread.orig
+ ${RM} acroread.orig acroread.bak
@${CHMOD} +x ${PREFIX}/bin/acroread3
[ -e ${PREFIX}/bin/acroread ] \
|| (cd ${PREFIX}/bin ; ${LN} -s acroread3 acroread)