# Created by: Andrew <andrew@ugh.net.au>
# $FreeBSD: branches/RELEASE_8_4_0/devel/libhash/Makefile 315367 2013-03-27 10:12:20Z miwi $

PORTNAME=	libhash
PORTVERSION=	1.0.3
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR=	distfiles

MAINTAINER=	rodrigo@bebik.net
COMMENT=	A library for manipulating hash tables

WRKSRC=		${WRKDIR}/libhash

MAN3=		libhash.3 libhash_convenience.3
MANCOMPRESSED=	maybe
MLINKS=		libhash.3 hash_initialise.3 \
		libhash.3 hash_insert.3 \
		libhash.3 hash_retrieve.3 \
		libhash.3 hash_delete.3 \
		libhash.3 hash_iterator_initialise.3 \
		libhash.3 hash_fetch_next.3 \
		libhash.3 hash_iterator_deinitialise.3 \
		libhash.3 hash_deinitialise.3 \
		libhash_convenience.3 hash_compare_int.3 \
		libhash_convenience.3 hash_compare_string.3 \
		libhash_convenience.3 hash_hash_int.3 \
		libhash_convenience.3 hash_hash_string.3 \
		libhash_convenience.3 hash_copy_int.3 \
		libhash_convenience.3 hash_copy_string.3

USE_LDCONFIG=	yes

.if defined(NO_PROFILE)
PLIST_SUB+=	PROFILE="@comment "
.else
PLIST_SUB+=	PROFILE=""
.endif

.include <bsd.port.mk>
