pkgsrc/www/netscape7/Makefile.NetBSD.i386
jschauma db34f0b75d Linux' find wants the dir as the first argument, NetBSD find wants
'-d' first.  Adjust FIND_ARG accordingly.  Problem noted by Martti
Kupparinen.
2002-10-14 14:22:50 +00:00

36 lines
1 KiB
Makefile

# $NetBSD: Makefile.NetBSD.i386,v 1.6 2002/10/14 14:22:50 jschauma Exp $
#
DIST_DIR_NAME= linux22
DEPENDS+= suse_compat>=7.3:../../emulators/${SUSE_DIR_PREFIX}_compat
DEPENDS+= suse_x11>=7.3:../../emulators/${SUSE_DIR_PREFIX}_x11
DEPENDS+= suse_gtk>=7.3:../../emulators/${SUSE_DIR_PREFIX}_gtk
MESSAGE_SRC= ${PKGDIR}/MESSAGE.${OPSYS}
FIND_ARG= -d .
# installing over emulation files doesn't work (huh?), so clean out any
# existing files first
post-extract:
if [ "${INSTDIR}" != "${WRKSRC}/dest" ]; then \
${RM} -fr ${INSTDIR}; \
fi
# try to keep emul root clean
pre-clean:
if [ "${INSTDIR}" != "${WRKSRC}/dest" ] && [ -d ${INSTDIR} ]; then \
cd ${INSTDIR}/../../ && ${RM} -fr *; \
fi
.include "../../emulators/suse_linux/Makefile.application"
# The installer starts netscape - under linux emulation, nontheless!
# If the user running 'make' has permission to do so, the installer will
# create files in the emulation root.
.if exists(${WRKSRC}/dest/plugins)
INSTDIR= ${WRKSRC}/dest
.else
INSTDIR= ${PREFIX}/emul/linux${WRKSRC}/dest
.endif