aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-02-15 17:02:52 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-02-15 17:02:52 +0800
commit06e5dd4e546919495d97738f2e30c673a2d10003 (patch)
tree30562d917ad0bfaf6bf5d066b5dbfcaa405c05d7 /archivers
parent8c8c9f16b6657da3a915764e5734313fb47f249b (diff)
downloadfreebsd-ports-graphics-06e5dd4e546919495d97738f2e30c673a2d10003.tar.gz
freebsd-ports-graphics-06e5dd4e546919495d97738f2e30c673a2d10003.tar.zst
freebsd-ports-graphics-06e5dd4e546919495d97738f2e30c673a2d10003.zip
- Add LICENSE
- Switch to new test framework - Unsilence installation commands Approved by: portmgr blanket
Diffstat (limited to 'archivers')
-rw-r--r--archivers/ppmd-7z/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/archivers/ppmd-7z/Makefile b/archivers/ppmd-7z/Makefile
index c5eebf99ed6..f6d060db5ad 100644
--- a/archivers/ppmd-7z/Makefile
+++ b/archivers/ppmd-7z/Makefile
@@ -11,12 +11,21 @@ DISTNAME= p7zip_${DISTVERSION}_src_all
MAINTAINER= ports@FreeBSD.org
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
WRKSRC= ${WRKDIR}/p7zip_${DISTVERSION}
BUILD_WRKSRC= ${WRKSRC}/CPP/7zip/Compress/PPMD_Alone
MAKEFILE= makefile
PLIST_FILES= bin/${PKGBASE}
MAKE_ARGS= PROG=${PORTNAME} CXX="${CXX}" LIB="-pthread"
+TEST_TARGET= test
post-patch:
@${REINPLACE_CMD} -e '/bool Open(LPCTSTR fileName, DWORD creationDisposition)/,/}/d'\
@@ -25,9 +34,6 @@ post-patch:
${BUILD_WRKSRC}/${MAKEFILE}
do-install:
- @${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)
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PKGBASE}
.include <bsd.port.mk>