mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
archivers/libmspack: Convert REINPLACE_CMD to patch file
- Use DISTVERSIONSUFFIX instead of DISTNAME - Remove PORTREVISION - Take maintainership
This commit is contained in:
parent
56965b29b3
commit
a85f523ccf
3 changed files with 21 additions and 11 deletions
|
@ -2,24 +2,22 @@
|
||||||
|
|
||||||
PORTNAME= libmspack
|
PORTNAME= libmspack
|
||||||
PORTVERSION= 0.10.1
|
PORTVERSION= 0.10.1
|
||||||
PORTREVISION= 0
|
DISTVERSIONSUFFIX= alpha
|
||||||
CATEGORIES= archivers
|
CATEGORIES= archivers
|
||||||
MASTER_SITES= http://www.cabextract.org.uk/libmspack/
|
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
|
COMMENT= Library for Microsoft compression formats
|
||||||
|
|
||||||
LICENSE= LGPL21
|
LICENSE= LGPL21
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
|
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
USE_LDCONFIG= yes
|
|
||||||
USES= cpe libtool pathfix
|
USES= cpe libtool pathfix
|
||||||
CPE_VENDOR= libmspack_project
|
|
||||||
INSTALL_TARGET= install-strip
|
|
||||||
|
|
||||||
post-patch:
|
GNU_CONFIGURE= yes
|
||||||
@${REINPLACE_CMD} 's,-Wno-unused-result,,' ${WRKSRC}/Makefile.in
|
INSTALL_TARGET= install-strip
|
||||||
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
|
CPE_VENDOR= libmspack_project
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
11
archivers/libmspack/files/patch-Makefile.in
Normal file
11
archivers/libmspack/files/patch-Makefile.in
Normal file
|
@ -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) \
|
|
@ -1,4 +1,5 @@
|
||||||
The purpose of libmspack is to provide both compression and decompression
|
libmspack is a portable library for some loosely related Microsoft compression
|
||||||
of some loosely related file formats used by Microsoft.
|
formats.
|
||||||
|
|
||||||
WWW: https://www.cabextract.org.uk/libmspack/
|
WWW: https://www.cabextract.org.uk/libmspack/
|
||||||
|
WWW: https://github.com/kyz/libmspack
|
||||||
|
|
Loading…
Add table
Reference in a new issue