2003-12-17 21:26:47 +01:00
|
|
|
# New ports collection makefile for: par2cmdline
|
|
|
|
# Whom: Chris Larsen <darth@vader.dk>
|
|
|
|
# Date created: 24 July 2003
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= par2cmdline
|
2004-06-27 20:00:57 +02:00
|
|
|
PORTVERSION= 0.4
|
2003-12-17 21:26:47 +01:00
|
|
|
CATEGORIES= archivers
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= parchive
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2006-10-31 19:19:34 +01:00
|
|
|
MAINTAINER= jonathan@kc8onw.net
|
2003-12-17 21:26:47 +01:00
|
|
|
COMMENT= Tools for using Parity v2 Archive files
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-12-17 21:26:47 +01:00
|
|
|
|
2004-06-27 20:00:57 +02:00
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's| -lstdc++||g' ${WRKSRC}/Makefile.in
|
2007-03-22 17:51:55 +01:00
|
|
|
@${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
|
2004-06-27 20:00:57 +02:00
|
|
|
|
2003-12-17 21:26:47 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-06-27 20:00:57 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-12-17 21:26:47 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|