2006-10-18 20:20:55 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2006/10/19 00:20:55 sturm Exp $
|
2002-12-23 13:52:52 -05:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
2006-10-18 20:20:55 -04:00
|
|
|
SHARED_ONLY= Yes
|
1998-06-07 22:36:00 -04:00
|
|
|
|
2001-05-05 23:19:44 -04:00
|
|
|
COMMENT= "view, distribute and print PDF documents"
|
2005-04-17 03:18:53 -04:00
|
|
|
COMMENT-plugins="further plugins for acrobat reader"
|
2001-05-05 23:19:44 -04:00
|
|
|
|
2006-10-18 20:20:55 -04:00
|
|
|
V= 7.0.8
|
|
|
|
DISTNAME= AdobeReader_enu-${V}-1.i386
|
2005-04-17 03:18:53 -04:00
|
|
|
PKGNAME= acroread-${V}
|
|
|
|
PKGNAME-plugins=acroread-plugins-${V}
|
1998-06-07 22:36:00 -04:00
|
|
|
CATEGORIES= print
|
2006-10-18 20:20:55 -04:00
|
|
|
SHARED_LIBS= ACE 2.07 \
|
|
|
|
AGM 4.14 \
|
|
|
|
BIB 1.1 \
|
|
|
|
CoolType 5.01 \
|
|
|
|
ResAccess 0.1 \
|
|
|
|
aglcnv 28.0 \
|
|
|
|
agldata 28.0 \
|
|
|
|
agli18n 28.0 \
|
|
|
|
agluc 28.0
|
1999-07-14 06:58:37 -04:00
|
|
|
|
2002-12-23 13:52:52 -05:00
|
|
|
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
|
1998-06-07 22:36:00 -04:00
|
|
|
|
2000-03-22 23:12:04 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= "commercial software"
|
|
|
|
PERMIT_PACKAGE_FTP= "commercial software"
|
|
|
|
PERMIT_DISTFILES_CDROM= "commercial software"
|
2002-06-22 09:45:36 -04:00
|
|
|
PERMIT_DISTFILES_FTP= "Adobe are control freaks"
|
2000-03-22 23:12:04 -05:00
|
|
|
|
2005-04-17 03:18:53 -04:00
|
|
|
MULTI_PACKAGES= -plugins
|
|
|
|
SUBPACKAGE?=
|
2002-12-23 13:52:52 -05:00
|
|
|
|
2006-10-18 20:20:55 -04:00
|
|
|
MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/reader/unix/7x/${V}/enu/
|
1998-06-07 22:36:00 -04:00
|
|
|
|
2006-10-18 20:20:55 -04:00
|
|
|
RUN_DEPENDS= ::emulators/fedora/base
|
2005-04-17 03:18:53 -04:00
|
|
|
|
|
|
|
.if defined(PACKAGING) && ${SUBPACKAGE} == "-plugins"
|
|
|
|
RUN_DEPENDS+= :${PKGNAME}:print/acroread
|
|
|
|
.endif
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/AdobeReader
|
2002-06-19 10:11:56 -04:00
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
1998-06-07 22:36:00 -04:00
|
|
|
|
|
|
|
do-install:
|
2005-04-17 03:18:53 -04:00
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/Acrobat7
|
2006-10-18 20:20:55 -04:00
|
|
|
@InstallDir=${PREFIX}/Acrobat7 ${WRKSRC}/INSTALL
|
1998-06-07 22:36:00 -04:00
|
|
|
|
|
|
|
post-install:
|
2005-04-17 03:18:53 -04:00
|
|
|
@cd ${PREFIX}/Acrobat7/bin && \
|
2000-02-10 12:40:56 -05:00
|
|
|
patch --quiet < ${FILESDIR}/acroread.diff && \
|
2006-10-18 20:20:55 -04:00
|
|
|
rm acroread.orig && \
|
2005-04-17 03:18:53 -04:00
|
|
|
perl -pi -e "s,%%TRUEPREFIX%%,${TRUEPREFIX}," acroread && \
|
|
|
|
${INSTALL_SCRIPT} ${PREFIX}/Acrobat7/bin/acroread \
|
2006-10-18 20:20:55 -04:00
|
|
|
${PREFIX}/bin/acroread
|
1998-06-07 22:36:00 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|