ports/102117: [MAINTAINER] sysutils/biosfont: fix pkg-plist, DESTDIR

Rene Ladan r.c.ladan at gmail.com
Tue Aug 15 21:21:07 UTC 2006


>Number:         102117
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/biosfont: fix pkg-plist, DESTDIR
>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:   Tue Aug 15 21:20:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        FreeBSD 6.1-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD 195-241-223-254.dsl.ip.tiscali.nl 6.1-RELEASE-p3 FreeBSD
6.1-RELEASE-p3 #0: Sat Jul 29 20:03:05 CEST 2006
>Description:
- fix pkg-plist, noticed by fenner@ builds

- respect DESTDIR (except when testing for presence of kernel sources)

- include PORTVERSION in tarball

- bump PORTREVISION
Added file(s):
- files/pkg-message.in

Removed file(s):
- pkg-message

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- biosfont-1.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/biosfont/Makefile
/usr/home/rene/ports/biosfont/Makefile
--- /usr/ports/sysutils/biosfont/Makefile	Tue Jul  4 20:37:43 2006
+++ /usr/home/rene/ports/biosfont/Makefile	Tue Aug 15 22:58:44 2006
@@ -7,6 +7,7 @@

 PORTNAME=	biosfont
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://home.tiscali.nl/rladan/biosfont/

@@ -18,12 +19,14 @@

 MAN4=		biosfont.4

-WRKSRC=		${WRKDIR}/${PORTNAME}
-KMODDIR?=	/boot/modules
+KMODDIR?=	${DESTDIR}/boot/modules

 PLIST_SUB=	KMODDIR=${KMODDIR}
 MAKE_ENV+=	KMODDIR=${KMODDIR}

+SUB_FILES=	pkg-message
+SUB_LIST=	DESTDIR=${DESTDIR}
+
 .include <bsd.port.pre.mk>

 # patches for earlier versions are welcome
@@ -36,8 +39,8 @@
 .endif

 post-install:
-	${INSTALL_DATA} ${WRKSRC}/biosfont.h ${PREFIX}/include
-	${INSTALL_MAN} ${MAN4:S|^|${WRKSRC}/|} ${PREFIX}/man/man4
+	${INSTALL_DATA} ${WRKSRC}/biosfont.h ${TARGETDIR}/include
+	${INSTALL_MAN} ${MAN4:S|^|${WRKSRC}/|} ${TARGETDIR}/man/man4
 	@${CAT} ${PKGMESSAGE}

 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/sysutils/biosfont/distinfo
/usr/home/rene/ports/biosfont/distinfo
--- /usr/ports/sysutils/biosfont/distinfo	Tue Jul  4 20:37:43 2006
+++ /usr/home/rene/ports/biosfont/distinfo	Tue Aug 15 22:45:17 2006
@@ -1,3 +1,3 @@
-MD5 (biosfont-1.0.tar.gz) = dc013ad1e4ed7fc46e74871188bd2eea
-SHA256 (biosfont-1.0.tar.gz) =
cbfc43ecb0ca78fc49cadeed387724ddb82be17233b66a5205c972bad61b3da0
-SIZE (biosfont-1.0.tar.gz) = 2613
+MD5 (biosfont-1.0.tar.gz) = 88ce9ea4fa55b0cf30a0b4febc16103c
+SHA256 (biosfont-1.0.tar.gz) =
62f05d4172293f39c5f06e6a1645e909e84e6adb76d3aa54fbb19997fcdb2ff9
+SIZE (biosfont-1.0.tar.gz) = 2676
diff -ruN --exclude=CVS
/usr/ports/sysutils/biosfont/files/pkg-message.in
/usr/home/rene/ports/biosfont/files/pkg-message.in
--- /usr/ports/sysutils/biosfont/files/pkg-message.in	Thu Jan  1
01:00:00 1970
+++ /usr/home/rene/ports/biosfont/files/pkg-message.in	Tue Aug 15
22:34:09 2006
@@ -0,0 +1,14 @@
+===============================================================================
+
+This port has installed the biosfont kernel module.
+
+To load the kernel module immediately, type the following command:
+
+	kldload biosfont
+
+To load the kernel module at boot, add the following line to
+%%DESTDIR%%/boot/loader.conf:
+
+	biosfont_load="YES"
+
+===============================================================================
diff -ruN --exclude=CVS /usr/ports/sysutils/biosfont/pkg-message
/usr/home/rene/ports/biosfont/pkg-message
--- /usr/ports/sysutils/biosfont/pkg-message	Tue Jul  4 20:37:43 2006
+++ /usr/home/rene/ports/biosfont/pkg-message	Thu Jan  1 01:00:00 1970
@@ -1,14 +0,0 @@
-===============================================================================
-
-This port has installed the biosfont kernel module.
-
-To load the kernel module immediately, type the following command:
-
-	kldload biosfont
-
-To load the kernel module at boot, add the following line to
-/boot/loader.conf:
-
-	biosfont_load="YES"
-
-===============================================================================
diff -ruN --exclude=CVS /usr/ports/sysutils/biosfont/pkg-plist
/usr/home/rene/ports/biosfont/pkg-plist
--- /usr/ports/sysutils/biosfont/pkg-plist	Tue Jul  4 20:37:43 2006
+++ /usr/home/rene/ports/biosfont/pkg-plist	Tue Aug 15 22:25:26 2006
@@ -1,3 +1,4 @@
 include/biosfont.h
 @cwd %%KMODDIR%%
 biosfont.ko
+ at unexec kldxref %%KMODDIR%%
--- biosfont-1.0_1.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list