aboutsummaryrefslogtreecommitdiff
path: root/misc/libhome/Makefile
blob: 118c44b20c2148cbc5a70cb1075f987e8c6a5e75 (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
# New ports collection makefile for:	libhome
# Date created:				Fri Aug 14 2003
# Whom:					Xavier Beaudouin <kiwi@oav.net>
#
# $FreeBSD$
#

PORTNAME=	libhome
PORTVERSION=	0.7.1
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	pll

MAINTAINER=	kiwi@oav.net
COMMENT=	Library providing a getpwname() emulation

LIB_DEPENDS+=	ldap:${PORTSDIR}/net/openldap21-client \
		mysqlclient:${PORTSDIR}/databases/mysql323-client \
		db3.3:${PORTSDIR}/databases/db3

GNU_CONFIGURE=	YES
CONFIGURE_ARGS=	--with-db3=${LOCALBASE}/include/db3 --without-db4 \
		--with-ldap=${LOCALBASE}/include \
		--with-mysql=${LOCALBASE}/include/mysql
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" prefix="${PREFIX}" home_finger

MAN5=		home.conf.5

post-install:
	${INSTALL_PROGRAM} ${WRKSRC}/home_finger ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/home.conf ${PREFIX}/etc/home.conf.dist

.include <bsd.port.mk>