2020-02-21 18:55:52 +01:00
|
|
|
# $NetBSD: Makefile.common,v 1.30 2020/02/21 17:55:52 adam Exp $
|
2013-09-01 10:28:08 +02:00
|
|
|
#
|
|
|
|
# used by archivers/libunrar/Makefile
|
|
|
|
# used by archivers/unrar/Makefile
|
|
|
|
|
2020-02-21 18:55:52 +01:00
|
|
|
DISTNAME= unrarsrc-5.9.1
|
2013-09-01 10:28:08 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/src//}
|
|
|
|
CATEGORIES= archivers
|
2017-09-22 09:03:57 +02:00
|
|
|
MASTER_SITES= https://www.rarlab.com/rar/
|
2013-09-01 10:28:08 +02:00
|
|
|
|
|
|
|
MAINTAINER= wiz@NetBSD.org
|
2017-09-22 09:03:57 +02:00
|
|
|
HOMEPAGE= https://www.rarlab.com/
|
2013-09-01 10:28:08 +02:00
|
|
|
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
|
2016-03-17 00:16:26 +01:00
|
|
|
MAKE_FLAGS+= CXX=${CXX:Q} CXXFLAGS=${CXXFLAGS:Q} LDFLAGS=${LDFLAGS:Q}
|
2013-09-01 10:28:08 +02:00
|
|
|
# usually set in Makefile, but overridden by line above
|
|
|
|
LDFLAGS+= -pthread
|
|
|
|
CXXFLAGS+= -fPIC
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/unrar
|
|
|
|
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../archivers/unrar/distinfo
|