aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libelf/Makefile
blob: 46d0da5c7ad15d0b4b2c93afd7a2008b44e40ee1 (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
# New ports collection makefile for:    libelf
# Date created:     18 Apr 2001
# Whom:         roam@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   libelf
PORTVERSION=    0.8.5
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SUNSITE} \
        http://www.stud.uni-hannover.de/~michael/software/ \
        ftp://ftp.stud.uni-hannover.de/pub/users/michael/
MASTER_SITE_SUBDIR= libs .

MAINTAINER= roam@FreeBSD.org
COMMENT=    "A public ELF file access library similar to libelf(3) in Solaris"

LIB_DEPENDS=    intl.5:${PORTSDIR}/devel/gettext

GNU_CONFIGURE=  yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -lintl"
CONFIGURE_ARGS+=    --enable-shared --disable-compat
INSTALLS_SHLIB= yes
PLIST_SUB+= LIBVER=${PORTVERSION:R}

NOMAN=      defined

.include <bsd.port.mk>