ports/62499: PLIST_FILES-ify my ports

Colin Percival cperciva at daemonology.net
Sat Feb 7 22:40:14 UTC 2004


>Number:         62499
>Category:       ports
>Synopsis:       PLIST_FILES-ify my ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 07 14:40:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Colin Percival
>Release:        FreeBSD 5.2-RC i386
>Organization:
>Environment:
System: FreeBSD fafnir.daemonology.net 5.2-RC FreeBSD 5.2-RC #3: Sun Jan 4 16:13:57 GMT 2004 cperciva at fafnir.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386

>Description:

Now that I'm aware of this, make misc/bsdiff and security/freebsd-update 
use PLIST_FILES instead of pkg-plist.

>How-To-Repeat:
>Fix:

I think these patches do the job (of course, pkg-plist must be deleted 
from each port as well).  If anything is wrong with these, please 
contact me; don't make corrections yourself.

--- PLIST_FILES.diff begins here ---
Index: ports/security/freebsd-update/Makefile
===================================================================
RCS file: /home/pcvs/ports/security/freebsd-update/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- ports/security/freebsd-update/Makefile	4 Dec 2003 17:02:28 -0000	1.7
+++ ports/security/freebsd-update/Makefile	7 Feb 2004 21:46:01 -0000
@@ -26,11 +26,18 @@
 
 MAN5=		freebsd-update.conf.5
 MAN8=		freebsd-update.8
+PLIST_FILES=	sbin/freebsd-update		\
+		sbin/freebsd-update-verify	\
+		etc/freebsd-update.conf.sample
+PLIST_DIRS=	freebsd-update
 
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
 .ifdef NOPORTDOCS
 MAKE_ENV+=	NODOCS=yes
+.else
+PLIST_FILES+=	%%DOCSDIR%%/LICENSE %%DOCSDIR%%/README %%DOCSDIR%%/VERSION
+PLIST_DIRS+=	%%DOCSDIR%%
 .endif
 
 post-extract:
Index: ports/misc/bsdiff/Makefile
===================================================================
RCS file: /home/pcvs/ports/misc/bsdiff/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- ports/misc/bsdiff/Makefile	8 Jul 2003 05:33:20 -0000	1.3
+++ ports/misc/bsdiff/Makefile	7 Feb 2004 21:46:01 -0000
@@ -14,5 +14,6 @@
 COMMENT=	Generates and applies patches to binary files
 
 MAN1=		bsdiff.1 bspatch.1
+PLIST_FILES=	bin/bsdiff bin/bspatch
 
 .include <bsd.port.mk>
--- PLIST_FILES.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list