From 78f0793084577094f9088a15ff769d845f5c2034 Mon Sep 17 00:00:00 2001 From: feld Date: Tue, 19 Sep 2017 01:03:08 +0000 Subject: MFH: r448936 cad/stepcode: Fix portlint issues PR: 221835 Submitted by: Fernando Apesteguia (maintainer) Approved by: ports-secteam (with hat) --- cad/stepcode/Makefile | 8 ++++---- cad/stepcode/files/patch-doc_CMakeLists.txt | 11 +++++++++++ cad/stepcode/pkg-plist | 4 ++-- 3 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 cad/stepcode/files/patch-doc_CMakeLists.txt diff --git a/cad/stepcode/Makefile b/cad/stepcode/Makefile index ee9d3d3..5f3da75 100644 --- a/cad/stepcode/Makefile +++ b/cad/stepcode/Makefile @@ -3,8 +3,8 @@ PORTNAME= stepcode PORTVERSION= 0.8 -PORTREVISION= 1 DISTVERSIONPREFIX= v +PORTREVISION= 2 CATEGORIES= cad MAINTAINER= fernando.apesteguia@gmail.com @@ -15,14 +15,14 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc64= fails to configure: Schema scan for 15926-0002-lifecycle_integration.exp exited with error code 1 +USES= cmake:outsource compiler:c++11-lang USE_GITHUB= yes - USE_LDCONFIG= yes - -USES= cmake:outsource compiler:c++11-lang CMAKE_ARGS+= -DSC_INSTALL_PREFIX=${PREFIX} \ -DSC_BUILD_TYPE=Release +MANDIRS= ${PREFIX}/man + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/schema_scanner @(cd ${STAGEDIR}${PREFIX} ; \ diff --git a/cad/stepcode/files/patch-doc_CMakeLists.txt b/cad/stepcode/files/patch-doc_CMakeLists.txt new file mode 100644 index 0000000..41ad8ef --- /dev/null +++ b/cad/stepcode/files/patch-doc_CMakeLists.txt @@ -0,0 +1,11 @@ +--- doc/CMakeLists.txt.orig 2017-08-29 15:56:46 UTC ++++ doc/CMakeLists.txt +@@ -4,7 +4,7 @@ set(sc_MANS + ) + + if(NOT DEFINED MAN_DIR) +- set(MAN_DIR share/man) ++ set(MAN_DIR man) + endif(NOT DEFINED MAN_DIR) + + if(NOT WIN32) diff --git a/cad/stepcode/pkg-plist b/cad/stepcode/pkg-plist index 7f955f6..78e722b 100644 --- a/cad/stepcode/pkg-plist +++ b/cad/stepcode/pkg-plist @@ -114,5 +114,5 @@ lib/libsteplazyfile.so.2.0.0 lib/libsteputils.so lib/libsteputils.so.2 lib/libsteputils.so.2.0.0 -share/man/man1/exp2cxx.1 -share/man/man1/fedex.1 +man/man1/exp2cxx.1.gz +man/man1/fedex.1.gz -- cgit v1.1