summaryrefslogtreecommitdiff
path: root/archivers/rar-bin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/rar-bin/Makefile')
-rw-r--r--archivers/rar-bin/Makefile22
1 files changed, 6 insertions, 16 deletions
diff --git a/archivers/rar-bin/Makefile b/archivers/rar-bin/Makefile
index b30656e6e4e..594aab4a71d 100644
--- a/archivers/rar-bin/Makefile
+++ b/archivers/rar-bin/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/04/19 15:30:22 xtraeme Exp $
-#
+# $NetBSD: Makefile,v 1.7 2007/07/29 05:18:36 jlam Exp $
DISTNAME= rarlinux-3.6.0
PKGNAME= ${DISTNAME:C/linux/-bin/}
@@ -11,23 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.rarsoft.com/rar_archiver.htm
COMMENT= RAR command line archiver (Linux binary)
-LICENSE= rar-license
-
-ONLY_FOR_PLATFORM= *-*-i386
-WRKSRC= ${WRKDIR}/rar
-
-# old name of the package
CONFLICTS= rarlinux-[0-9]* rar-linux-[0-9]*
-SUSE_COMPAT32= yes
+LICENSE= rar-license
-.if !defined(USE_NATIVE_LINUX)
-DEPENDS+= suse_base>=6.1:../../emulators/${SUSE_DIR_PREFIX}_base
-DEPENDS+= suse_compat>=6.1:../../emulators/${SUSE_DIR_PREFIX}_compat
-.endif
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base compat
-NO_BUILD= YES
-NO_CONFIGURE= YES
+WRKSRC= ${WRKDIR}/rar
+BUILD_DIRS= # empty
INSTALLATION_DIRS= bin lib
@@ -39,5 +30,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/rar-bin
${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${PREFIX}/share/doc/rar-bin
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"