summaryrefslogtreecommitdiffstats
path: root/print/acroread5
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1996-11-21 07:12:12 +0000
committertg <tg@FreeBSD.org>1996-11-21 07:12:12 +0000
commite273b8713a6c09949ef16ea4666bca19fffa051b (patch)
tree03618c9990c3e49791710dec2e135cb06511d28f /print/acroread5
parent6bd5ba005756bb94d63547dad716f1dd9716effb (diff)
downloadFreeBSD-ports-e273b8713a6c09949ef16ea4666bca19fffa051b.zip
FreeBSD-ports-e273b8713a6c09949ef16ea4666bca19fffa051b.tar.gz
Remove restrictions, the license seems to be liberal enough.
Now also works with a different $PREFIX.
Diffstat (limited to 'print/acroread5')
-rw-r--r--print/acroread5/Makefile10
-rw-r--r--print/acroread5/files/patch-aa20
-rw-r--r--print/acroread5/pkg-plist2
3 files changed, 18 insertions, 14 deletions
diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile
index d9c278a..058205d 100644
--- a/print/acroread5/Makefile
+++ b/print/acroread5/Makefile
@@ -3,7 +3,7 @@
# Date created: 16 November 1996
# Whom: Thomas Gellekum <tg@freebsd.org>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1996/11/20 07:29:45 tg Exp $
#
DISTNAME= acroread_linux_b1106
@@ -16,18 +16,20 @@ MAINTAINER= tg@FreeBSD.ORG
RUN_DEPENDS= /compat/linux/lib/libc.so.5:${PORTSDIR}/emulators/linux_lib
-RESTRICTED= "Commercial software."
-IS_INTERACTIVE= yes
NO_WRKSUBDIR= yes
do-build:
@${ECHO_MSG} "Do a \`make install' as root."
do-install:
- @${WRKDIR}/INSTALL
+ @mkdir -p ${PREFIX}/Acrobat3
+ @mkdir -p ${PREFIX}/bin
+ @ReadInstallDir=${PREFIX}/Acrobat3 ${WRKDIR}/INSTALL
post-install:
@sed -e 's/Linux)/FreeBSD\|Linux)/' <${PREFIX}/Acrobat3/bin/acroread >${PREFIX}/bin/acroread
@chmod +x ${PREFIX}/bin/acroread
+ @${ECHO_MSG} "Be sure to read the license agreement in"
+ @${ECHO_MSG} "${PREFIX}/Acrobat3/Reader/License.pdf"
.include <bsd.port.mk>
diff --git a/print/acroread5/files/patch-aa b/print/acroread5/files/patch-aa
index 92fa10b..96af673 100644
--- a/print/acroread5/files/patch-aa
+++ b/print/acroread5/files/patch-aa
@@ -1,14 +1,5 @@
--- INSTALL.orig Thu Nov 7 00:04:53 1996
-+++ INSTALL Sat Nov 16 15:30:26 1996
-@@ -67,7 +67,7 @@
- exit 1
- fi
-
-- if [ -z "$PAGER" ] || [ "`type $PAGER`" = "$PAGER not found" ] ; then
-+ if [ -z "$PAGER" ] || [ "`$PAGER`" = "$PAGER not found" ] ; then
- if [ "`type more`" != "more not found" ] ; then
- command=more
- elif [ "`type pg`" != "pg not found" ] ; then
++++ INSTALL Wed Nov 20 17:37:14 1996
@@ -117,6 +117,8 @@
if [ "$i" -a -f "$i" ] ; then
if [ `uname -s` = "Linux" ] ; then
@@ -18,6 +9,15 @@
else
size=`ls -lLon "$i" | ( read perm links owner size date ; echo $size )`
fi
+@@ -486,7 +488,7 @@
+ SearchPlatformTar="$3"
+ CustomPlatformTar="$4"
+
+- OutputLicense "$ReadLicense"
++# OutputLicense "$ReadLicense"
+ ReadLicense=""
+
+ PrintRequiredFree "$ReadTar" "$SearchTar" "$CustomTar" \
@@ -559,7 +561,7 @@
*) ScriptDirectory="$CurrentDirectory"/"$ScriptDirectory" ;;
esac
diff --git a/print/acroread5/pkg-plist b/print/acroread5/pkg-plist
index 39a1f83..219e01d 100644
--- a/print/acroread5/pkg-plist
+++ b/print/acroread5/pkg-plist
@@ -45,3 +45,5 @@ Acrobat3/Reader/res/splashScreen21.xbm
Acrobat3/Reader/res/splashScreen28.xpm
Acrobat3/bin/acroread
bin/acroread
+@exec echo "Be sure to read the license agreement in"
+@exec echo "%D/Acrobat3/Reader/License.pdf"
OpenPOWER on IntegriCloud