diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-12-22 02:46:11 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-12-22 02:46:11 +0800 |
commit | a85f523ccf07ab80dcfce1936ddf66bc90872c2c (patch) | |
tree | 39b3427b88304242e48af099d73dbaaacb4833c0 /archivers/libmspack | |
parent | 56965b29b30ff4434f3c05e1c50501f055683164 (diff) | |
download | freebsd-ports-a85f523ccf07ab80dcfce1936ddf66bc90872c2c.zip |
archivers/libmspack: Convert REINPLACE_CMD to patch file
- Use DISTVERSIONSUFFIX instead of DISTNAME
- Remove PORTREVISION
- Take maintainership
Diffstat (limited to 'archivers/libmspack')
-rw-r--r-- | archivers/libmspack/Makefile | 14 | ||||
-rw-r--r-- | archivers/libmspack/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | archivers/libmspack/pkg-descr | 5 |
3 files changed, 20 insertions, 10 deletions
diff --git a/archivers/libmspack/Makefile b/archivers/libmspack/Makefile index ab97ed3fa495..308e0bcdb78f 100644 --- a/archivers/libmspack/Makefile +++ b/archivers/libmspack/Makefile @@ -2,24 +2,22 @@ PORTNAME= libmspack PORTVERSION= 0.10.1 -PORTREVISION= 0 +DISTVERSIONSUFFIX= alpha CATEGORIES= archivers MASTER_SITES= http://www.cabextract.org.uk/libmspack/ -DISTNAME= ${PORTNAME}-${PORTVERSION}alpha -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for Microsoft compression formats LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LIB -GNU_CONFIGURE= yes -USE_LDCONFIG= yes USES= cpe libtool pathfix -CPE_VENDOR= libmspack_project + +GNU_CONFIGURE= yes INSTALL_TARGET= install-strip +USE_LDCONFIG= yes -post-patch: - @${REINPLACE_CMD} 's,-Wno-unused-result,,' ${WRKSRC}/Makefile.in +CPE_VENDOR= libmspack_project .include <bsd.port.mk> diff --git a/archivers/libmspack/files/patch-Makefile.in b/archivers/libmspack/files/patch-Makefile.in new file mode 100644 index 000000000000..f2e686674f13 --- /dev/null +++ b/archivers/libmspack/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2019-03-04 09:39:18 UTC ++++ Makefile.in +@@ -92,7 +92,7 @@ POST_UNINSTALL = : + build_triplet = @build@ + host_triplet = @host@ + # add "-DMSPACK_NO_DEFAULT_SYSTEM" to remove default mspack_system +-@GCC_TRUE@am__append_1 = -Wall -Wextra -Wno-unused-parameter -Wno-unused-result ++@GCC_TRUE@am__append_1 = -Wall -Wextra -Wno-unused-parameter + noinst_PROGRAMS = examples/cabd_memory$(EXEEXT) \ + examples/cabrip$(EXEEXT) examples/chmextract$(EXEEXT) \ + examples/msexpand$(EXEEXT) examples/multifh$(EXEEXT) \ diff --git a/archivers/libmspack/pkg-descr b/archivers/libmspack/pkg-descr index b0d5d4e82db8..6927d99914b9 100644 --- a/archivers/libmspack/pkg-descr +++ b/archivers/libmspack/pkg-descr @@ -1,4 +1,5 @@ -The purpose of libmspack is to provide both compression and decompression -of some loosely related file formats used by Microsoft. +libmspack is a portable library for some loosely related Microsoft compression +formats. WWW: https://www.cabextract.org.uk/libmspack/ +WWW: https://github.com/kyz/libmspack |