Files
pkgsrc-ng/archivers/unrar/Makefile.common
2016-01-21 23:42:40 +01:00

35 lines
952 B
Makefile

# $NetBSD: Makefile.common,v 1.5 2015/08/13 15:42:05 adam Exp $
#
# used by archivers/libunrar/Makefile
# used by archivers/unrar/Makefile
DISTNAME= unrarsrc-5.3.2
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