39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.70 2013/07/03 18:19:24 wiz Exp $
|
|
|
|
DISTNAME= unrarsrc-5.0.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.
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
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
|
|
|
|
WRKSRC= ${WRKDIR}/unrar
|
|
|
|
INSTALLATION_DIRS= bin share/doc/unrar
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/unrar ${DESTDIR}${PREFIX}/bin
|
|
cd ${WRKSRC} && ${INSTALL_DATA} readme.txt license.txt \
|
|
${DESTDIR}${PREFIX}/share/doc/unrar
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|