diff options
author | des <des@FreeBSD.org> | 2000-12-07 00:57:04 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2000-12-07 00:57:04 +0800 |
commit | e979be407f6991462a4460d811ab42d8a9bca802 (patch) | |
tree | 40771e4bbd72f996b29b2072a7046a531c72a931 /www/linux-opera/Makefile | |
parent | 16dc4751c0848a059d611dae447bf8b562f56f91 (diff) | |
download | freebsd-ports-graphics-e979be407f6991462a4460d811ab42d8a9bca802.tar.gz freebsd-ports-graphics-e979be407f6991462a4460d811ab42d8a9bca802.tar.zst freebsd-ports-graphics-e979be407f6991462a4460d811ab42d8a9bca802.zip |
I forgot the sed magic for opera.sh.
Spotted by: jedgar
Diffstat (limited to 'www/linux-opera/Makefile')
-rw-r--r-- | www/linux-opera/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/linux-opera/Makefile b/www/linux-opera/Makefile index ab8f8eba275..fbc80b97a96 100644 --- a/www/linux-opera/Makefile +++ b/www/linux-opera/Makefile @@ -17,9 +17,13 @@ RUN_DEPENDS= /compat/linux/lib/ld.so:${PORTSDIR}/emulators/linux_base NO_BUILD= yes +do-configure: + ${SED} 's|%%PREFIX%%|${PREFIX}|; s|%%DISTNAME%%|${DISTNAME}|' \ + <${FILESDIR}/opera.sh >${WRKDIR}/opera.sh + do-install: (cd ${WRKDIR} && \ tar cf - ${DISTNAME} | tar --unlink -xpf - -C ${PREFIX}) - ${INSTALL_SCRIPT} ${FILESDIR}/opera.sh ${PREFIX}/bin/opera + ${INSTALL_SCRIPT} ${WRKDIR}/opera.sh ${PREFIX}/bin/opera .include <bsd.port.mk> |