summaryrefslogtreecommitdiff
path: root/archivers/unrar/Makefile.common
blob: 8bb938148cf1e9c70fb69319ef50aa550259cfdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $NetBSD: Makefile.common,v 1.7 2015/11/07 10:10:09 adam Exp $
#
# used by archivers/libunrar/Makefile
# used by archivers/unrar/Makefile

DISTNAME=	unrarsrc-5.3.7
PKGNAME=	${DISTNAME:S/src//}
CATEGORIES=	archivers
MASTER_SITES=	http://www.rarlab.com/rar/

MAINTAINER=	wiz@NetBSD.org
HOMEPAGE=	http://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 <roshal@rarlab.com>
# 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
MAKEFLAGS+=	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