[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / archivers / rar

File: [cvs.NetBSD.org] / pkgsrc / archivers / rar / Makefile (download)

Revision 1.54, Tue Sep 11 19:47:00 2012 UTC (8 years, 9 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.53: +1 -3 lines

"user-destdir" is default these days

# $NetBSD: Makefile,v 1.54 2012/09/11 19:47:00 asau Exp $
#

DISTNAME=	# overridden
PKGNAME=	rar-${RAR_VER}
CATEGORIES=	archivers
MASTER_SITES=	http://www.rarlabs.com/rar/

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	http://www.rarlabs.com/rar/
COMMENT=	RAR file archiver (binary)
LICENSE=	rar-license

RAR_VER=	4.1.1

RESTRICTED=		Only unmodified original package can be distributed
NO_BIN_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_FTP=		${RESTRICTED}

EMUL_PLATFORMS=		linux-i386 linux-x86_64

NO_BUILD=	yes
WRKSRC=		${WRKDIR}/rar
USE_LANGUAGES=	# none

.include "../../mk/bsd.prefs.mk"

.if ${EMUL_PLATFORM} == "linux-i386"
DISTFILES=	rarlinux-${RAR_VER}.tar.gz
.elif ${EMUL_PLATFORM} == "linux-x86_64"
DISTFILES=	rarlinux-x64-${RAR_VER}.tar.gz
.endif

DOCSDIR=		share/doc/rar

INSTALLATION_DIRS=	bin etc lib ${DOCSDIR}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${DESTDIR}${PREFIX}/bin/rar

	${INSTALL_LIB} ${WRKSRC}/default.sfx ${DESTDIR}${PREFIX}/lib

	${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${DESTDIR}${PREFIX}/${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/*txt ${DESTDIR}${PREFIX}/${DOCSDIR}
.include "../../mk/bsd.pkg.mk"