1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

- Fix the "Main packet not found" error;

- Register a conflict with par2cmdline-tbb;

- Take maintainership.

PR:		ports/119860
Submitted by:	Åke Wallebom <ake (at) ake.nu>
Completed by:	Ganaël Laplanche <ganael.laplanche (at) martymac.com>
Approved by:	Jonathan Stewart <jonathan (at) kc8onw.net> (former maintainer)
This commit is contained in:
Thierry Thomas 2008-04-19 19:32:57 +00:00
parent 2834d51011
commit d895620315
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=211589

View File

@ -7,27 +7,22 @@
PORTNAME= par2cmdline
PORTVERSION= 0.4
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= parchive
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= jonathan@kc8onw.net
MAINTAINER= ganael.laplanche@martymac.com
COMMENT= Tools for using Parity v2 Archive files
WRKSRC= ${WRKDIR}/${DISTNAME}
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PORTDOCS= README
CONFLICTS= par2cmdline-tbb-[0-9]*
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
post-patch:
@${REINPLACE_CMD} -e 's| -lstdc++||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|#define PACKED __attribute__ ((packed))|#define PACKED|' ${WRKSRC}/par1fileformat.h
@${REINPLACE_CMD} -e 's|#define PACKED __attribute__ ((packed))|#define PACKED|' ${WRKSRC}/par2fileformat.h
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}