diff options
author | tg <tg@FreeBSD.org> | 1996-11-21 15:12:12 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1996-11-21 15:12:12 +0800 |
commit | e273b8713a6c09949ef16ea4666bca19fffa051b (patch) | |
tree | 03618c9990c3e49791710dec2e135cb06511d28f /print/acroread | |
parent | 6bd5ba005756bb94d63547dad716f1dd9716effb (diff) | |
download | freebsd-ports-gnome-e273b8713a6c09949ef16ea4666bca19fffa051b.tar.gz freebsd-ports-gnome-e273b8713a6c09949ef16ea4666bca19fffa051b.tar.zst freebsd-ports-gnome-e273b8713a6c09949ef16ea4666bca19fffa051b.zip |
Remove restrictions, the license seems to be liberal enough.
Now also works with a different $PREFIX.
Diffstat (limited to 'print/acroread')
-rw-r--r-- | print/acroread/Makefile | 10 | ||||
-rw-r--r-- | print/acroread/files/patch-aa | 20 | ||||
-rw-r--r-- | print/acroread/pkg-plist | 2 |
3 files changed, 18 insertions, 14 deletions
diff --git a/print/acroread/Makefile b/print/acroread/Makefile index d9c278a623fd..058205dd9d4c 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$ +# $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/acroread/files/patch-aa b/print/acroread/files/patch-aa index 92fa10bf43f3..96af67355cdb 100644 --- a/print/acroread/files/patch-aa +++ b/print/acroread/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/acroread/pkg-plist b/print/acroread/pkg-plist index 39a1f837aee9..219e01d920f2 100644 --- a/print/acroread/pkg-plist +++ b/print/acroread/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" |