2006-05-23 00:22:02 +02:00
|
|
|
# $NetBSD: Makefile,v 1.2 2006/05/22 22:22:02 jlam Exp $
|
2006-03-03 23:36:09 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= rarlinux-3.5.1
|
|
|
|
PKGNAME= ${DISTNAME:C/linux/-bin/}
|
|
|
|
CATEGORIES= archivers
|
|
|
|
MASTER_SITES= http://www.rarsoft.com/rar/ \
|
|
|
|
ftp://ftp.rarsoft.com/rar/
|
|
|
|
|
|
|
|
MAINTAINER= wiz@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.rarsoft.com/rar/
|
|
|
|
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]*
|
|
|
|
|
|
|
|
.include "../../emulators/suse_linux/Makefile.application"
|
|
|
|
|
|
|
|
.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
|
|
|
|
|
|
|
|
NO_BUILD= YES
|
|
|
|
NO_CONFIGURE= YES
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= bin lib
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${PREFIX}/bin/rar-bin
|
|
|
|
# ${INSTALL_PROGRAM} ${WRKSRC}/unrar ${PREFIX}/bin/unrar-bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/default.sfx ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rar-bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/rar-bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${PREFIX}/share/doc/rar-bin
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|