diff options
Diffstat (limited to 'www/netscape4-communicator/Makefile')
-rw-r--r-- | www/netscape4-communicator/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/www/netscape4-communicator/Makefile b/www/netscape4-communicator/Makefile index a84cd1133a05..d8bd884bdf8a 100644 --- a/www/netscape4-communicator/Makefile +++ b/www/netscape4-communicator/Makefile @@ -13,8 +13,6 @@ DISTFILES?= communicator-v408-export.x86-unknown-freebsd.tar.gz MAINTAINER?= sada@FreeBSD.org -RUN_DEPENDS?= ${X11BASE}/lib/aout/libX11.so.6.1:${PORTSDIR}/x11/XFree86-aoutlibs - Y2K= http://home.netscape.com/products/year2000/faq/client.html .if !defined(INFILE_HEAD) @@ -28,7 +26,6 @@ NO_FILTER_SHLIBS= yes STRIP= WRKSRC?= ${WRKDIR}/${BROWSER}-v408.x86-unknown-freebsd PKGDIR= ${.CURDIR}/pkg -PKGREQ?= ${MASTERDIR}/pkg/REQ AUTOADMIN?= autoadmin-v408.x86-unknown-freebsd.tar.gz BROWSER?= communicator @@ -55,6 +52,16 @@ DISTFILES+= ${FORTIFY}.tar.gz RESTRICTED= "Contains strong cryptography" .endif +.if !defined(_PREMKINCLUDED) +.include <bsd.port.pre.mk> +.endif + +.if (${ARCH} == "i386") && !defined(USE_LINUX_LIB) +USE_AOUT_LIB= yes +PKGREQ= ${MASTERDIR}/pkg/REQ.aout +RUN_DEPENDS= ${X11BASE}/lib/aout/libX11.so.6.1:${PORTSDIR}/x11/XFree86-aoutlibs +.endif + .SILENT: .if !defined(USE_128BIT) && !defined(NO_FORTIFY) @@ -70,8 +77,10 @@ post-configure: ${CHMOD} +x ${WRKSRC}/netscape ${ECHO} -n ${INFILE_HEAD},${NDIR} >${WRKSRC}/infile +.if defined(USE_AOUT_LIB) pre-install: PKG_PREFIX=${PREFIX} ${SH} ${PKGREQ} ${PKGNAME} INSTALL +.endif do-install: ${MKDIR} ${NDIR}/java/classes @@ -104,7 +113,7 @@ post-install: ${CAT} ${PKGDIR}/DESCR # hack to allow slave ports to include bsd.port.pre.mk and then this file -.if defined(PRE_MK_INCLUDED) +.if defined(_PREMKINCLUDED) .include <bsd.port.post.mk> .else .include <bsd.port.mk> |