mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
0618ffc8fe
Submitted by: maintainer Noticed by: lioux
45 lines
1.4 KiB
Makefile
45 lines
1.4 KiB
Makefile
# New ports collection makefile for: p7zip
|
|
# Date created: Sun Jul 18 15:07:26 CEST 2004
|
|
# Whom: Juergen Lock <nox@jelal.kn-bremen.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= p7zip
|
|
PORTVERSION= 0.90
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= p7zip
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= nox@jelal.kn-bremen.de
|
|
COMMENT= Command line versions of 7-zip
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
MAKEFILE= makefile
|
|
MAKE_ARGS+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS}
|
|
ONLY_FOR_ARCHS= alpha amd64 i386 ia64
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500039
|
|
BROKEN= 'Requires wchar functions (mbrtowc(3) etc.) for compilation'
|
|
.endif
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/libexec/p7zip/Codecs
|
|
${MKDIR} ${PREFIX}/libexec/p7zip/Formats
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/7z ${PREFIX}/libexec/p7zip
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/7za ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/bin/Codecs/* ${PREFIX}/libexec/p7zip/Codecs
|
|
${INSTALL_DATA} ${WRKSRC}/bin/Formats/* ${PREFIX}/libexec/p7zip/Formats
|
|
${INSTALL_SCRIPT} ${FILESDIR}/7z ${PREFIX}/bin
|
|
${MKDIR} ${PREFIX}/share/doc/p7zip/commands
|
|
${MKDIR} ${PREFIX}/share/doc/p7zip/switches
|
|
${INSTALL_DATA} ${WRKSRC}/html/cmdline/*.htm ${PREFIX}/share/doc/p7zip
|
|
${INSTALL_DATA} ${WRKSRC}/html/cmdline/commands/* ${PREFIX}/share/doc/p7zip/commands
|
|
${INSTALL_DATA} ${WRKSRC}/html/cmdline/switches/* ${PREFIX}/share/doc/p7zip/switches
|
|
|
|
.include <bsd.port.post.mk>
|