aboutsummaryrefslogtreecommitdiff
path: root/net/samba-libsmbclient
diff options
context:
space:
mode:
authorTimur I. Bakeyev <timur@FreeBSD.org>2014-06-04 02:50:05 +0000
committerTimur I. Bakeyev <timur@FreeBSD.org>2014-06-04 02:50:05 +0000
commite1275c6fe3f80fc45c946338fb171ee68b0317fe (patch)
tree7ab4a5c958e367437d84dc245e8a60425378e8da /net/samba-libsmbclient
parent227e8b559c1a836075381ca43eaa38e0215be848 (diff)
downloadports-e1275c6fe3f80fc45c946338fb171ee68b0317fe.tar.gz
ports-e1275c6fe3f80fc45c946338fb171ee68b0317fe.zip
Notes
Diffstat (limited to 'net/samba-libsmbclient')
-rw-r--r--net/samba-libsmbclient/Makefile32
-rw-r--r--net/samba-libsmbclient/pkg-plist1
2 files changed, 13 insertions, 20 deletions
diff --git a/net/samba-libsmbclient/Makefile b/net/samba-libsmbclient/Makefile
index 53914080c2f4..8092247e2c61 100644
--- a/net/samba-libsmbclient/Makefile
+++ b/net/samba-libsmbclient/Makefile
@@ -18,28 +18,20 @@ USE_LDCONFIG= ${PREFIX}/lib
# We WANT shared libs
CONFIGURE_ARGS+= --with-libsmbclient
-SAMBA_INSTALL_LIBS= libsmbclient
-MAN7= libsmbclient.7
+ALL_TARGET= libsmbclient
-ALL_TARGET= ${SAMBA_INSTALL_LIBS}
-
-NO_STAGE= yes
do-install:
- -@${MKDIR} ${MAN7PREFIX}/man/man7
-.for man in ${MAN7}
- ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/manpages/${man} ${MAN7PREFIX}/man/man7
-.endfor
- -@${MKDIR} ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/include/libsmbclient.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/pkgconfig/smbclient.pc ${PREFIX}/libdata/pkgconfig/
- -@${MKDIR} ${PREFIX}/lib
-.for lib in ${SAMBA_INSTALL_LIBS}
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/${lib}.a ${PREFIX}/lib
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/${lib}.so ${PREFIX}/lib/${lib}.so.0
- ${LN} -snf ${lib}.so.0 ${PREFIX}/lib/${lib}.so
-.endfor
- -@${MKDIR} ${EXAMPLESDIR}
- @${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/libsmbclient/ ${EXAMPLESDIR}
+ -@${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"
diff --git a/net/samba-libsmbclient/pkg-plist b/net/samba-libsmbclient/pkg-plist
index 1ff83f8fbe5e..dea35399e241 100644
--- a/net/samba-libsmbclient/pkg-plist
+++ b/net/samba-libsmbclient/pkg-plist
@@ -3,6 +3,7 @@ lib/libsmbclient.a
lib/libsmbclient.so
lib/libsmbclient.so.0
libdata/pkgconfig/smbclient.pc
+man/man7/libsmbclient.7.gz
%%EXAMPLESDIR%%/Makefile
%%EXAMPLESDIR%%/Makefile.internal
%%EXAMPLESDIR%%/Makefile.internal.in