Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2006 03:00:22 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97219: Update port: sysutils/cdrtools-devel
Message-ID:  <20060514030022.2fb9013f.tkato432@yahoo.com>
Resent-Message-ID: <200605131810.k4DIALKZ003946@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97219
>Category:       ports
>Synopsis:       Update port: sysutils/cdrtools-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 13 18:10:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p17 i386
>Organization:
>Environment:
>Description:
- Support SUB_FILES

New file:
files/pkg-message.in

Remove file:
pkg-message

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/sysutils/cdrtools-devel/Makefile sysutils/cdrtools-devel/Makefile
--- /usr/ports/sysutils/cdrtools-devel/Makefile	Wed May 10 22:12:11 2006
+++ sysutils/cdrtools-devel/Makefile	Thu May 11 15:16:30 2006
@@ -36,7 +36,7 @@
 USE_GMAKE=	yes
 #CFLAGS+=	-DSOURCE_MODIFIED
 WRKSRC=		${WRKDIR}/${DISTNAME:C/a(.+)$//}
-PKGMESSAGE=	${WRKDIR}/pkg-message
+SUB_FILES=	pkg-message
 
 .if defined(WITH_RSCSI)
 PKGINSTALL=	${PKGDIR}/pkg-install.rscsi
@@ -106,8 +106,6 @@
 #	@${REINPLACE_CMD} -E -e \
 #		's|#define.+INSERT_YOUR_EMAIL_ADDRESS_HERE|& "${MAINTAINER}"|' \
 #		${WRKSRC}/cdrecord/cdrecord.c
-	@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \
-		${WRKDIR}/pkg-message
 
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/btcflash/OBJ/${CDRTLSTARGET}/btcflash \
@@ -169,6 +167,6 @@
 post-install:
 	-@if [ -f ${PKGINSTALL} ]; then ${SETENV} PKG_PREFIX=${PREFIX} \
 		${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL; fi
-	@${CAT} ${WRKDIR}/pkg-message
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/sysutils/cdrtools-devel/files/pkg-message.in sysutils/cdrtools-devel/files/pkg-message.in
--- /usr/ports/sysutils/cdrtools-devel/files/pkg-message.in	Thu Jan  1 09:00:00 1970
+++ sysutils/cdrtools-devel/files/pkg-message.in	Thu May 11 15:15:12 2006
@@ -0,0 +1,13 @@
+===========================================================================
+
+Note: The location of the cdrtools `defaults' files has been set to
+
+	%%PREFIX%%/etc
+
+This is the FreeBSD ports standard config file location, NOT the cdrtools
+standard location, which is /etc/default.
+
+The reason for this is that FreeBSD ports and packages should not use
+configuration files outside of %%PREFIX%%.
+
+===========================================================================
diff -urN /usr/ports/sysutils/cdrtools-devel/pkg-message sysutils/cdrtools-devel/pkg-message
--- /usr/ports/sysutils/cdrtools-devel/pkg-message	Tue Sep  2 17:06:38 2003
+++ sysutils/cdrtools-devel/pkg-message	Thu Jan  1 09:00:00 1970
@@ -1,13 +0,0 @@
-===========================================================================
-
-Note: The location of the cdrtools `defaults' files has been set to
-
-	%%PREFIX%%/etc
-
-This is the FreeBSD ports standard config file location, NOT the cdrtools
-standard location, which is /etc/default.
-
-The reason for this is that FreeBSD ports and packages should not use
-configuration files outside of %%PREFIX%%.
-
-===========================================================================
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060514030022.2fb9013f.tkato432>