1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Fix pkg-plist after version bump.

Bump PORTREVISION to 1.
Remove a stray object file if it exists, prior to installing examples.
This patch is not guaranteed to be perfect for all permutations of WITH_*
options. However, it works for the default case.

Submitted by:	alane@freebsd.org
Approved by:	dwcjr@freebsd.org
This commit is contained in:
Alan Eldridge 2002-06-20 02:18:13 +00:00
parent f9b5fee75a
commit 39da3fd5d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61609
2 changed files with 4 additions and 8 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= samba
PORTVERSION= 2.2.5
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.samba.org/pub/samba/ \
ftp://samba.anu.edu.au/pub/samba/ \
@ -152,7 +153,8 @@ PLIST_SUB= AUDIT=${AUDIT} \
.if defined(WITH_RECYCLE) || defined(WITH_AUDIT)
post-build:
cd ${WRKDIR}/${DISTNAME}/examples/VFS; \
${RM} config.cache;./configure;${GMAKE}
${RM} config.cache;./configure;${GMAKE}; \
${RM} -f config.cache config.log config.status
.endif
post-install:
@ -166,6 +168,7 @@ post-install:
.endif
.endif
${MKDIR} ${PREFIX}/share/examples/samba
-${RM} -f ${WRKDIR}/${DISTNAME}/examples/libsmbclient/*.o
${CP} -rp ${WRKDIR}/${DISTNAME}/examples/* ${PREFIX}/share/examples/samba
.if defined(WITH_AUDIT) || defined(WITH_RECYCLE)
# @${RM} -rf ${PREFIX}/share/examples/samba/VFS/.libs

View File

@ -8,7 +8,6 @@ bin/smbcacls
bin/smbclient
bin/smbcontrol
bin/smbpasswd
@comment bin/smbspoolbb
bin/smbstatus
bin/smbtar
bin/tdbbackup
@ -168,7 +167,6 @@ sbin/swat
%%PORTDOCS%%share/doc/samba/textdocs/SCO.txt
%%PORTDOCS%%share/doc/samba/textdocs/SMBTAR.notes
%%PORTDOCS%%share/doc/samba/textdocs/Samba-OpenSSL.txt
%%PORTDOCS%%share/doc/samba/textdocs/Solaris-Winbind-HOWTO.txt
%%PORTDOCS%%share/doc/samba/textdocs/Speed.txt
%%PORTDOCS%%share/doc/samba/textdocs/Speed2.txt
%%PORTDOCS%%share/doc/samba/textdocs/Tracing.txt
@ -178,7 +176,6 @@ sbin/swat
%%PORTDOCS%%share/doc/samba/textdocs/WinNT.txt
%%PORTDOCS%%share/doc/samba/textdocs/cifsntdomain.txt
%%PORTDOCS%%share/doc/samba/textdocs/security_level.txt
share/examples/samba/LDAP/.import2_smbpasswd.pl.swp
share/examples/samba/LDAP/README
share/examples/samba/LDAP/export_smbpasswd.pl
share/examples/samba/LDAP/import_smbpasswd.pl
@ -238,9 +235,6 @@ share/examples/samba/VFS/recycle/recycle.conf
share/examples/samba/VFS/audit.c
share/examples/samba/VFS/skel.c
share/examples/samba/VFS/Makefile.in
share/examples/samba/VFS/config.cache
share/examples/samba/VFS/config.log
share/examples/samba/VFS/config.status
share/examples/samba/VFS/configure
share/examples/samba/VFS/configure.in
@exec /bin/mkdir -p %D/VFS/recycle
@ -288,7 +282,6 @@ share/examples/samba/validchars/validchr.c
share/examples/samba/validchars/validchr.com
share/examples/samba/libsmbclient/Makefile
share/examples/samba/libsmbclient/README
share/examples/samba/libsmbclient/testsmbc.o
share/swat/help/CVS-Access.html
share/swat/help/DOMAIN_MEMBER.html
share/swat/help/ENCRYPTION.html