pkgsrc/emulators/suse100_slang/Makefile
xtraeme 78d4bc67e9 Add support for using suse100 with NetBSD/amd64 and COMPAT_LINUX32.
Support is added via the options framework, to use 32-bit packages
must be used "PKG_OPTIONS.suse=compat32", otherwise it will use
the 64-bit packages by default.

Known packages working are opera (does not require any change in Makefile)
and rar-bin.

Tested by some, closes PR pkg/35477 by Michai Chelaru (which provided
a patch more or less than this one).
2007-04-19 15:30:20 +00:00

27 lines
740 B
Makefile

# $NetBSD: Makefile,v 1.4 2007/04/19 15:30:22 xtraeme Exp $
DISTNAME= suse_slang-${SUSE_VERSION}
PKGREVISION= 2
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SUSE100}
DISTFILES= ${RPMFILES}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.suse.com/
COMMENT= Linux compatibility package for slang library
DEPENDS+= suse_base-${SUSE_VERSION}{,nb*}:../../emulators/suse100_base
EXTRACT_ONLY= # empty
NO_BUILD= YES
PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
SUSE_INCLUDE_MAKEFILE_ARCH= yes
post-install:
cd ${PREFIX}/${EMULSUBDIR}/usr/lib && \
${LN} -sf libslang-utf8.so.1 libslang.so.1
.include "../../emulators/suse100_linux/Makefile.common"
.include "../../mk/bsd.pkg.mk"