openbsd-ports/print/acroread/Makefile

37 lines
916 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.23 2003/08/18 02:17:18 brad Exp $
ONLY_FOR_ARCHS= i386
1998-06-07 22:36:00 -04:00
COMMENT= "view, distribute and print PDF documents"
DISTNAME= linux-508
PKGNAME= acroread-5.08
1998-06-07 22:36:00 -04:00
CATEGORIES= print
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
MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/
RUN_DEPENDS= ::emulators/redhat/base
1998-06-07 22:36:00 -04:00
WRKDIST= ${WRKDIR}
NO_BUILD= Yes
NO_REGRESS= Yes
1998-06-07 22:36:00 -04:00
do-install:
@${INSTALL_DATA_DIR} ${PREFIX}/Acrobat5
@ReadInstallDir=${PREFIX}/Acrobat5 ${WRKSRC}/INSTALL
1998-06-07 22:36:00 -04:00
post-install:
@cd ${PREFIX}/Acrobat5/bin && \
patch --quiet < ${FILESDIR}/acroread.diff && \
${INSTALL_SCRIPT} ${PREFIX}/Acrobat5/bin/acroread \
${PREFIX}/bin/acroread && rm acroread.orig
1998-06-07 22:36:00 -04:00
.include <bsd.port.mk>