aboutsummaryrefslogtreecommitdiffstats
path: root/misc/libhome/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/libhome/Makefile')
-rw-r--r--misc/libhome/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/misc/libhome/Makefile b/misc/libhome/Makefile
index 1eec682733f5..118c44b20c21 100644
--- a/misc/libhome/Makefile
+++ b/misc/libhome/Makefile
@@ -6,21 +6,29 @@
#
PORTNAME= libhome
-PORTVERSION= 0.7
+PORTVERSION= 0.7.1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pll
MAINTAINER= kiwi@oav.net
-COMMENT= Libhome is a library providing a getpwname() emulation
+COMMENT= Library providing a getpwname() emulation
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21-client \
- mysqlclient:${PORTSDIR}/databases/mysql323-client
+ mysqlclient:${PORTSDIR}/databases/mysql323-client \
+ db3.3:${PORTSDIR}/databases/db3
GNU_CONFIGURE= YES
-
-CONFIGURE_ARGS+= --without-db3 --without-db4 --with-ldap --with-mysql
+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>