summaryrefslogtreecommitdiff
path: root/archivers/par2cmdline/Makefile
blob: ac6f6b26b2dc14bc47a769a3e06e5343c24070c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:	par2cmdline
# Whom:					Chris Larsen <darth@vader.dk>
# Date created:				24 July 2003
#
# $FreeBSD$
#

PORTNAME=	par2cmdline
PORTVERSION=	0.4
CATEGORIES=	archivers
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	parchive
DISTNAME=	${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Tools for using Parity v2 Archive files

WRKSRC=		${WRKDIR}/${DISTNAME}

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

PORTDOCS=	README
PLIST_FILES=	bin/par2 bin/par2create bin/par2repair bin/par2verify

post-patch:
	@${REINPLACE_CMD} -e 's| -lstdc++||g' ${WRKSRC}/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>