2013-09-20 12:54:54 +00:00
|
|
|
# Created by: hrs
|
2006-02-21 18:41:38 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= acroreadwrapper
|
2013-02-08 02:40:11 +00:00
|
|
|
PORTVERSION= 0.0.20130208
|
2014-02-10 23:35:59 +00:00
|
|
|
CATEGORIES= print
|
2011-05-29 17:22:26 +00:00
|
|
|
MASTER_SITES= http://people.allbsd.org/~hrs/FreeBSD/
|
2013-02-08 02:40:11 +00:00
|
|
|
DISTNAME= linux_adobe_kmod-${PORTVERSION:E}
|
2006-02-21 18:41:38 +00:00
|
|
|
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
2013-02-08 02:40:11 +00:00
|
|
|
COMMENT= Wrapper for Adobe Reader
|
|
|
|
|
2014-02-10 23:35:59 +00:00
|
|
|
LICENSE= BSD2CLAUSE
|
2006-02-21 18:41:38 +00:00
|
|
|
|
2014-02-10 23:35:59 +00:00
|
|
|
USES= kmod uidfix
|
2010-08-08 04:16:02 +00:00
|
|
|
|
2014-02-10 23:35:59 +00:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/linux-libgtkembedmoz/libgtkembedmoz.so:${PORTSDIR}/www/linux-libgtkembedmoz
|
2013-09-20 12:54:54 +00:00
|
|
|
|
2006-02-21 18:41:38 +00:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
2011-05-29 17:22:26 +00:00
|
|
|
PLIST_FILES= bin/acroread8 bin/acroread9 bin/acroread \
|
2014-02-10 23:35:59 +00:00
|
|
|
${RELKMODDIR}/linux_adobe.ko
|
|
|
|
PLIST_DIRS= ${RELKMODDIR}
|
2012-06-20 07:52:17 +00:00
|
|
|
SUB_FILES= acroread
|
2008-09-06 04:59:52 +00:00
|
|
|
SUB_LIST= ACROBASE8=${ACROBASE8} \
|
2009-03-28 18:11:44 +00:00
|
|
|
ACROBASE9=${ACROBASE9} \
|
2006-02-21 18:41:38 +00:00
|
|
|
ADOBE_LANG=${ADOBE_LANG:U} \
|
|
|
|
INSTALLDIR=${INSTALLDIR} \
|
|
|
|
LINUXBASE=${LINUXBASE} \
|
2007-09-23 18:28:46 +00:00
|
|
|
LINUXSH=${LINUXBASE}/bin/sh \
|
|
|
|
PLUGINDIR=${PLUGINDIR} \
|
2014-02-10 23:35:59 +00:00
|
|
|
KMODDIR=${RELKMODDIR}
|
2012-08-05 23:19:36 +00:00
|
|
|
USE_RC_SUBR= linux_adobe
|
2012-06-20 07:52:17 +00:00
|
|
|
|
2014-02-10 23:35:59 +00:00
|
|
|
MAKE_ENV= DESTDIR=${PREFIX}/
|
2006-02-21 18:41:38 +00:00
|
|
|
|
2007-06-09 11:18:46 +00:00
|
|
|
ADOBEBASE= Adobe
|
2008-01-04 20:20:20 +00:00
|
|
|
ACROBASE8= ${ADOBEBASE}/Reader8
|
2009-03-28 18:11:44 +00:00
|
|
|
ACROBASE9= ${ADOBEBASE}/Reader9
|
2008-04-13 18:27:25 +00:00
|
|
|
PLUGINDIR= lib/npapi/linux-acroread
|
2014-02-10 23:35:59 +00:00
|
|
|
KMODDIR= ${PREFIX}/libexec/linux_adobe
|
|
|
|
RELKMODDIR= libexec/linux_adobe
|
2011-05-29 17:22:26 +00:00
|
|
|
|
|
|
|
post-install:
|
2014-02-10 23:35:59 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/acroread ${STAGEDIR}${PREFIX}/bin/acroread
|
|
|
|
cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s -f acroread acroread8
|
|
|
|
cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s -f acroread acroread9
|
2006-02-21 18:41:38 +00:00
|
|
|
|
2014-02-10 23:35:59 +00:00
|
|
|
.include <bsd.port.mk>
|