aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/epkg/Makefile
blob: 85db6a4ce4642056773bf2e42ffe34cfea783aa9 (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
# Created by: Jim Pirzyk <pirzyk@FreeBSD.org>
# $FreeBSD$

PORTNAME=   epkg
PORTVERSION=    2.3.9
PORTREVISION=   6
CATEGORIES= archivers
MASTER_SITES=   ftp://ftp.feep.net/pub/encap/epkg/

MAINTAINER= pirzyk@FreeBSD.org
COMMENT=    Encap Package Manager

BUILD_DEPENDS=  ${LOCALBASE}/lib/libfget.a:${PORTSDIR}/ftp/fget
LIB_DEPENDS=    libcurl.so:${PORTSDIR}/ftp/curl \
        libexpat.so:${PORTSDIR}/textproc/expat2

HAS_CONFIGURE=  YES
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-encap --disable-epkg-install --without-libtar \
        --with-libfget \
        --prefix=${PREFIX}
INSTALL_TARGET= install-recurse

post-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/etc
    @${CP} ${WRKSRC}/mkencap/mkencap_environment ${STAGEDIR}${PREFIX}/etc/mkencap_environment.sample

.include <bsd.port.mk>