blob: d9b4de1ca75078d2f6f5fc2058014d7bd59e4f37 (
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
35
36
37
|
# $FreeBSD$
PORTREVISION= 2
PORTEPOCH= 0
PKGNAMESUFFIX= -libsmbclient
COMMENT= Shared lib from the samba package
CONFLICTS=
SAMBA_PORT= samba36
SAMBA_SUBPORT= yes
MASTERDIR= ${.CURDIR}/../${SAMBA_PORT}
PKGDIR= ${.CURDIR}
USE_LDCONFIG= ${PREFIX}/lib
# We WANT shared libs
CONFIGURE_ARGS+= --with-libsmbclient
ALL_TARGET= libsmbclient
do-install:
-@${MKDIR} ${STAGEDIR}${MAN7PREFIX}/man/man7
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/manpages/libsmbclient.7 ${STAGEDIR}${MAN7PREFIX}/man/man7
-@${MKDIR} ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/libsmbclient.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/pkgconfig/smbclient.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
-@${MKDIR} ${STAGEDIR}${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.so ${STAGEDIR}${PREFIX}/lib/libsmbclient.so.0
${LN} -snf libsmbclient.so.0 ${STAGEDIR}${PREFIX}/lib/libsmbclient.so
-@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libsmbclient/ ${STAGEDIR}${EXAMPLESDIR}
.include "${MASTERDIR}/Makefile"
|