# $OpenBSD: Makefile,v 1.29 2006/01/24 00:02:07 pedro Exp $ COMMENT= "extract, list, and test RAR archives" DISTNAME= unrarsrc-3.5.4 PKGNAME= unrar-3.54p0 CATEGORIES= archivers HOMEPAGE= http://www.rarlab.com/ MAINTAINER= Rui Reis # Restrictive PERMIT_PACKAGE_CDROM= "no fee" PERMIT_PACKAGE_FTP= "may not modify" PERMIT_DISTFILES_CDROM= "no fee" PERMIT_DISTFILES_FTP= Yes WANTLIB= c m stdc++ MASTER_SITES= ${HOMEPAGE}rar/ WRKDIST= ${WRKDIR}/unrar MAKE_FILE= makefile.unix MAKE_FLAGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" .if ${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "amd64" && \ ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "i386" && \ ${MACHINE_ARCH} != "vax" CFLAGS+= -DBIG_ENDIAN .endif do-install: ${INSTALL_PROGRAM} ${WRKBUILD}/unrar ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unrar ${INSTALL_MAN} ${WRKSRC}/readme.txt ${WRKSRC}/license.txt \ ${PREFIX}/share/doc/unrar NO_REGRESS= Yes .include