freebsd-ports/archivers/p7zip-codec-rar/Makefile
Raphael Kubo da Costa 6e99c40ba8 - Modernize and simplify the archivers/p7zip port's Makefile by getting rid
of some sed calls, supporting staging.
- Set LICENSE for the port. [1]
- Get rid of the MINIMAL and MODULES options. They were not very useful and
  its handling was needlessly complicating the Makefile logic. We now always
  build as if MINIMAL was unset.
- Stop installing the p7zip and Client7z wrappers.
- Move the installation of the RAR decompression codec to
  archivers/p7zip-codec-rar, as its source code uses a more restrictive
  license than the LGPL21 used for the rest of the code base.

PR:		ports/185238 [1]
Submitted by:	Hardy Schumacher <hardy.schumacher@gmx.de> [1]
2014-01-02 00:20:19 +00:00

25 lines
626 B
Makefile

# $FreeBSD$
PKGNAMESUFFIX= -codec-rar
PORTREVISION= 0
COMMENT= RAR decoder codec for p7zip
LICENSE= LGPL21 UNRAR
LICENSE_COMB= multi
LICENSE_NAME_UNRAR= unRAR usage restriction license
LICENSE_FILE_UNRAR= ${WRKSRC}/DOCS/unRarLicense.txt
LICENSE_PERMS_UNRAR= dist-mirror dist-sell pkg-mirror pkg-sell
MASTERDIR= ${.CURDIR}/../p7zip
ALL_TARGET= common7z
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
OPTIONS_EXCLUDE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/p7zip/Codecs
${INSTALL_LIB} ${WRKSRC}/bin/Codecs/Rar29.so ${STAGEDIR}${PREFIX}/libexec/p7zip/Codecs
.include "${MASTERDIR}/Makefile"