diff options
author | alane <alane@FreeBSD.org> | 2002-06-20 10:18:13 +0800 |
---|---|---|
committer | alane <alane@FreeBSD.org> | 2002-06-20 10:18:13 +0800 |
commit | 3a378df39b757cd63447ae62649c621eb8b8f028 (patch) | |
tree | dbf446ce2c205f324d7206f5ce6644cf8cce66bb | |
parent | 6cc23e92c46b903000cc6122e5f1600815c0f5dd (diff) | |
download | freebsd-ports-gnome-3a378df39b757cd63447ae62649c621eb8b8f028.tar.gz freebsd-ports-gnome-3a378df39b757cd63447ae62649c621eb8b8f028.tar.zst freebsd-ports-gnome-3a378df39b757cd63447ae62649c621eb8b8f028.zip |
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
-rw-r--r-- | net/samba/Makefile | 5 | ||||
-rw-r--r-- | net/samba/pkg-plist | 7 |
2 files changed, 4 insertions, 8 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index c598001a7f27..a56b03567489 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -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 diff --git a/net/samba/pkg-plist b/net/samba/pkg-plist index f71e1ad34ba3..a35384d7b4c4 100644 --- a/net/samba/pkg-plist +++ b/net/samba/pkg-plist @@ -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 |