summaryrefslogtreecommitdiff
path: root/print/acroread/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-11-20 10:26:12 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-11-20 10:26:12 +0000
commit72ccfa5b4df75b2579e03623b4f26de49dce8638 (patch)
tree4c4e410c70ce2a53aea94acea919c864c2081e8a /print/acroread/Makefile
parentUpgrade to 3.0.3. (diff)
Set LC_CTYPE=C to prevent coredumps in multibyte locales.
Submitted by: CHOI Junho <junker@jazz.snu.ac.kr>
Notes
Notes: svn path=/head/; revision=14716
Diffstat (limited to 'print/acroread/Makefile')
-rw-r--r--print/acroread/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/print/acroread/Makefile b/print/acroread/Makefile
index a19e547aa38b..e29f680b2529 100644
--- a/print/acroread/Makefile
+++ b/print/acroread/Makefile
@@ -3,7 +3,7 @@
# Date created: 16 November 1996
# Whom: Thomas Gellekum <tg@freebsd.org>
#
-# $Id: Makefile,v 1.6 1998/10/12 12:26:42 jseger Exp $
+# $Id: Makefile,v 1.7 1998/10/13 02:46:56 jseger Exp $
#
DISTNAME= ar302lin
@@ -15,10 +15,10 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= tg@FreeBSD.ORG
-NO_FILTER_SHLIBS= yes
-
RUN_DEPENDS= /compat/linux/lib/libc.so.5:${PORTSDIR}/emulators/linux_lib
+NO_FILTER_SHLIBS= yes
+
WRKSRC= ${WRKDIR}/ILINXR.install
do-build:
@@ -29,7 +29,10 @@ do-install:
@ReadInstallDir=${PREFIX}/Acrobat3 ${WRKSRC}/INSTALL
post-install:
- @sed -e 's/Linux)/FreeBSD\|Linux)/' <${PREFIX}/Acrobat3/bin/acroread >${PREFIX}/bin/acroread
+ @cd ${PREFIX}/Acrobat3/bin && \
+ ${PATCH} --quiet < ${FILESDIR}/acroread.diff && \
+ ${INSTALL_SCRIPT} ${PREFIX}/Acrobat3/bin/acroread ${PREFIX}/bin && \
+ ${RM} acroread.orig
@chmod +x ${PREFIX}/bin/acroread
@${ECHO_MSG} "Be sure to read the license agreement in"
@${ECHO_MSG} "${PREFIX}/Acrobat3/Reader/License.pdf"