diff options
author | bapt <bapt@FreeBSD.org> | 2014-05-09 07:41:14 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-05-09 07:41:14 +0800 |
commit | 751643923a8338f4c4a1a963529ff4da289026e6 (patch) | |
tree | 6deebdc3ac7ab150755f64bdf43a72ebdfc7c4de /print/acroread8 | |
parent | a36ab13daddd22d736f1e8d8885eb81bc06149ee (diff) | |
download | freebsd-ports-gnome-751643923a8338f4c4a1a963529ff4da289026e6.tar.gz freebsd-ports-gnome-751643923a8338f4c4a1a963529ff4da289026e6.tar.zst freebsd-ports-gnome-751643923a8338f4c4a1a963529ff4da289026e6.zip |
Support stage
Diffstat (limited to 'print/acroread8')
-rw-r--r-- | print/acroread8/Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/print/acroread8/Makefile b/print/acroread8/Makefile index 9c75abf75d02..3b687d7bd8cb 100644 --- a/print/acroread8/Makefile +++ b/print/acroread8/Makefile @@ -20,11 +20,11 @@ LICENSE_PERMS= auto-accept RUN_DEPENDS= acroreadwrapper>=0.0.20100806:${PORTSDIR}/print/acroreadwrapper +USES= tar:bzip2 RESTRICTED= Must fill out redistribution form at http://www.adobe.com/products/acrobat/distribute.html ONLY_FOR_ARCHS= amd64 i386 USE_LINUX= yes USE_LINUX_APPS= cups-libs gtk2 pango libgcrypt libgpg-error -USE_BZIP2= yes USE_LDCONFIG= yes #USE_GNOME= desktopfileutils NO_BUILD= yes @@ -66,23 +66,17 @@ INSTALLDIR= ${PREFIX}/${ACRODIR} INSTALLEXEC= ${SETENV} UNAME_s=Linux \ InstallDir=${INSTALLDIR} \ UNAME_r="Linux Compatibility on FreeBSD" \ - ${SH} ./INSTALL --install_path=${INSTALLDIR} > /dev/null + ${SH} ./INSTALL --install_path=${STAGEDIR}${INSTALLDIR} > /dev/null -NO_STAGE= yes pre-install: @${MKDIR} ${WRKDIR}/bin @${INSTALL_SCRIPT} \ ${WRKDIR}/ln ${WRKDIR}/rm ${WRKDIR}/mv \ ${WRKDIR}/bin do-install: - @${ECHO_CMD} Installing... - @${MKDIR} ${PREFIX}/share/desktop-directories - @${MKDIR} ${INSTALLDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/share/desktop-directories + @${MKDIR} ${STAGEDIR}${INSTALLDIR} @cd ${WRKSRC} && ${SETENV} PATH=${WRKDIR}/bin:${PATH} ${INSTALLEXEC} > /dev/null - -.if ${ADOBE_LANG:tu} != ENU -post-install: - @${CAT} ${PKGMESSAGE} -.endif + ${SED} -i "" -e "s,${STAGEDIR},," ${STAGEDIR}${INSTALLDIR}/Adobe/Reader8/Reader/GlobalPrefs/.config .include <bsd.port.mk> |