# $NetBSD: Makefile.common,v 1.28 2019/11/28 06:45:10 adam Exp $ # # used by archivers/libunrar/Makefile # used by archivers/unrar/Makefile DISTNAME= unrarsrc-5.8.4 PKGNAME= ${DISTNAME:S/src//} CATEGORIES= archivers MASTER_SITES= https://www.rarlab.com/rar/ MAINTAINER= wiz@NetBSD.org HOMEPAGE= https://www.rarlab.com/ COMMENT= Extract, view & test RAR archives LICENSE= unrar-license # From private mail addressed to pkgsrc maintainers: # # Date: Wed, 10 Sep 2008 18:27:35 +0600 # From: Eugene Roshal # You can redistribute either original or modified binaries or sources. NO_CONFIGURE= YES USE_LANGUAGES= c++ # XXX: makefile has DOS line endings USE_TOOLS+= gmake MAKE_FILE= makefile MAKE_FLAGS+= CXX=${CXX:Q} CXXFLAGS=${CXXFLAGS:Q} LDFLAGS=${LDFLAGS:Q} # usually set in Makefile, but overridden by line above LDFLAGS+= -pthread CXXFLAGS+= -fPIC WRKSRC= ${WRKDIR}/unrar DISTINFO_FILE= ${.CURDIR}/../../archivers/unrar/distinfo