mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Add LICENSE
- Switch to new test framework - Unsilence installation commands Approved by: portmgr blanket
This commit is contained in:
parent
6617e104ad
commit
8edcb9347f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461869
1 changed files with 10 additions and 4 deletions
|
@ -11,12 +11,21 @@ DISTNAME= p7zip_${DISTVERSION}_src_all
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= High-ratio PPMD compressor
|
COMMENT= High-ratio PPMD compressor
|
||||||
|
|
||||||
|
LICENSE= LGPL21+ UNRAR
|
||||||
|
LICENSE_COMB= multi
|
||||||
|
LICENSE_NAME_UNRAR= unRAR license
|
||||||
|
LICENSE_FILE= ${WRKSRC}/DOCS/License.txt
|
||||||
|
LICENSE_FILE_UNRAR= ${WRKSRC}/DOCS/unRarLicense.txt
|
||||||
|
LICENSE_FILE_LGPL21+ = ${WRKSRC}/DOCS/copying.txt
|
||||||
|
LICENSE_PERMS_UNRAR= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||||
|
|
||||||
USES= tar:bzip2 gmake
|
USES= tar:bzip2 gmake
|
||||||
WRKSRC= ${WRKDIR}/p7zip_${DISTVERSION}
|
WRKSRC= ${WRKDIR}/p7zip_${DISTVERSION}
|
||||||
BUILD_WRKSRC= ${WRKSRC}/CPP/7zip/Compress/PPMD_Alone
|
BUILD_WRKSRC= ${WRKSRC}/CPP/7zip/Compress/PPMD_Alone
|
||||||
MAKEFILE= makefile
|
MAKEFILE= makefile
|
||||||
PLIST_FILES= bin/${PKGBASE}
|
PLIST_FILES= bin/${PKGBASE}
|
||||||
MAKE_ARGS= PROG=${PORTNAME} CXX="${CXX}" LIB="-pthread"
|
MAKE_ARGS= PROG=${PORTNAME} CXX="${CXX}" LIB="-pthread"
|
||||||
|
TEST_TARGET= test
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/bool Open(LPCTSTR fileName, DWORD creationDisposition)/,/}/d'\
|
@${REINPLACE_CMD} -e '/bool Open(LPCTSTR fileName, DWORD creationDisposition)/,/}/d'\
|
||||||
|
@ -25,9 +34,6 @@ post-patch:
|
||||||
${BUILD_WRKSRC}/${MAKEFILE}
|
${BUILD_WRKSRC}/${MAKEFILE}
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PKGBASE}
|
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PKGBASE}
|
||||||
|
|
||||||
regression-test: build
|
|
||||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue