aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libpar2/Makefile
blob: 407d746626e647a0e7d587e4bc7cd500ecb295ef (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
# New ports collection makefile for:    libpar2
# Date created:             16 Aug 2008
# Whom:                 Jeff Burchell <toxic@doobie.com>
#
# $FreeBSD$
#

PORTNAME=   libpar2
PORTVERSION=    0.2
PORTREVISION=   2
CATEGORIES= archivers
MASTER_SITES=   SF/parchive/${PORTNAME}/${PORTVERSION}
DISTNAME=   ${PORTNAME}-${PORTVERSION}

MAINTAINER= toxic@doobie.com
COMMENT=    A library for manipulating par2 files, extracted from par2cmdline

LIB_DEPENDS=    sigc-2.0:${PORTSDIR}/devel/libsigc++20

GNU_CONFIGURE=  yes

CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib" \
        CPPFLAGS="-I${LOCALBASE}/include"

USE_LDCONFIG=   yes

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

.include <bsd.port.mk>