2003-07-25 06:42:08 +02:00
|
|
|
# New ports collection makefile for: samba-libsmbclient
|
|
|
|
# Date created: 23 Juli 2003
|
|
|
|
# Whom: Koop Mast <einekoai@chello.nl>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2005-04-22 10:21:29 +02:00
|
|
|
PORTREVISION= 2
|
2004-03-29 21:11:28 +02:00
|
|
|
PORTEPOCH= 0
|
|
|
|
PKGNAMESUFFIX= -libsmbclient
|
|
|
|
|
|
|
|
COMMENT= The shared lib from the samba packages
|
|
|
|
|
2004-05-09 22:34:40 +02:00
|
|
|
CONFLICTS=
|
2003-07-25 06:42:08 +02:00
|
|
|
|
2004-06-06 19:38:56 +02:00
|
|
|
SAMBA_PORT= samba3
|
2004-03-29 21:11:28 +02:00
|
|
|
SAMBA_SUBPORT= yes
|
|
|
|
|
|
|
|
MASTERDIR= ${.CURDIR}/../${SAMBA_PORT}
|
|
|
|
PKGDIR= ${.CURDIR}
|
2004-05-09 22:34:40 +02:00
|
|
|
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2004-03-29 21:11:28 +02:00
|
|
|
# We WANT libsmbclient support :)
|
|
|
|
CONFIGURE_ARGS+= --with-libsmbclient
|
|
|
|
# This is taken from SAMBA_PORT(grep without)
|
2004-05-09 22:34:40 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-cups
|
2004-03-29 21:11:28 +02:00
|
|
|
CONFIGURE_ARGS+= --without-python
|
2004-05-09 22:34:40 +02:00
|
|
|
CONFIGURE_ARGS+= --without-syslog
|
|
|
|
CONFIGURE_ARGS+= --without-quotas
|
2004-03-29 21:11:28 +02:00
|
|
|
CONFIGURE_ARGS+= --without-utmp
|
|
|
|
CONFIGURE_ARGS+= --without-winbind
|
|
|
|
CONFIGURE_ARGS+= --without-ldapsam
|
|
|
|
CONFIGURE_ARGS+= --without-pam_smbpass
|
2003-07-25 06:42:08 +02:00
|
|
|
|
|
|
|
do-build:
|
2004-05-09 22:34:40 +02:00
|
|
|
cd ${WRKSRC} && ${MAKE} proto
|
2003-07-25 06:42:08 +02:00
|
|
|
cd ${WRKSRC} && ${MAKE} libsmbclient
|
|
|
|
|
|
|
|
do-install:
|
2004-05-09 22:34:40 +02:00
|
|
|
-@${MKDIR} ${PREFIX}/include
|
2004-03-29 21:11:28 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/libsmbclient.h ${PREFIX}/include
|
2004-05-09 22:34:40 +02:00
|
|
|
-@${MKDIR} ${PREFIX}/lib
|
2004-03-29 21:11:28 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.a ${PREFIX}/lib
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.so.0 ${PREFIX}/lib
|
|
|
|
${LN} -snf libsmbclient.so.0 ${PREFIX}/lib/libsmbclient.so
|
2004-05-09 22:34:40 +02:00
|
|
|
-@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libsmbclient/* ${EXAMPLESDIR}
|
2003-07-25 06:42:08 +02:00
|
|
|
|
2004-03-29 21:11:28 +02:00
|
|
|
.include "${MASTERDIR}/Makefile"
|