summaryrefslogtreecommitdiff
path: root/emulators/suse100_slang/Makefile
diff options
context:
space:
mode:
authorsalo <salo>2006-04-18 14:43:27 +0000
committersalo <salo>2006-04-18 14:43:27 +0000
commit7821990351a1777b0cd867087ba5ae675385e305 (patch)
tree900002392f9154cec05f5f39a1062c513c9f68e4 /emulators/suse100_slang/Makefile
parent3b13bc75a3779017758d93a777a6e2ce84977751 (diff)
downloadpkgsrc-7821990351a1777b0cd867087ba5ae675385e305.tar.gz
Initial import of suse100_slang: Linux compatibility package for slang library
Linux compatibility package based on the SuSE Linux distribution, take a look at "http://www.suse.com/" for more information about it. This package supports running ELF binaries linked with glibc2 which require the "slang" library.
Diffstat (limited to 'emulators/suse100_slang/Makefile')
-rw-r--r--emulators/suse100_slang/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/emulators/suse100_slang/Makefile b/emulators/suse100_slang/Makefile
new file mode 100644
index 00000000000..1caa81d2513
--- /dev/null
+++ b/emulators/suse100_slang/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/18 14:43:27 salo Exp $
+
+DISTNAME= suse_slang-${SUSE_VERSION}
+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}:../../emulators/suse100_base
+
+EXTRACT_ONLY= # empty
+NO_BUILD= YES
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
+PLIST_SUBST+= EMULSUBDIR=${EMULSUBDIR:Q}
+
+.if exists(Makefile.${MACHINE_ARCH})
+.include "Makefile.${MACHINE_ARCH}"
+.endif
+
+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"