Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2006 08:36:46 GMT
From:      Xin LI <delphij@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        roam@FreeBSD.org
Subject:   ports/96306: [PATCH] Add necessary DOS2UNIX to textproc/s5
Message-ID:  <200604250836.k3P8akY1025913@freefall.freebsd.org>
Resent-Message-ID: <200604250840.k3P8eFqZ026073@freefall.freebsd.org>

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

>Number:         96306
>Category:       ports
>Synopsis:       [PATCH] Add necessary DOS2UNIX to textproc/s5
>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:   Tue Apr 25 08:40:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Xin LI
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
The FreeBSD Simplified Chinese Project
>Environment:
System: FreeBSD freefall.freebsd.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 03:18:20 UTC 2005 kensmith@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


>Description:
	Currently the s5-blank template is installed with MS-DOS ^M.

	Maintainer CC'ed.
>How-To-Repeat:
>Fix:

	Apply the proposed patch:

--- patch-s5 begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/s5/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	1 Nov 2005 00:16:47 -0000	1.2
+++ Makefile	25 Apr 2006 08:32:37 -0000
@@ -16,13 +16,15 @@
 
 BUILD_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
 
+USE_DOS2UNIX=	yes
 USE_ZIP=	yes
 WRKSRC=		${WRKDIR}
 
 S5_DIR=		${PREFIX}/share/${PORTNAME}
 S5_SUBDIRS=	pix primer s5-blank ui
+NO_BUILD=	yes
 
-do-build:
+post-extract:
 		cd ${WRKSRC} && ${UNZIP_CMD} s5-blank.zip
 		${SED} -e "s,/usr/local,${PREFIX}," ${FILESDIR}/s5-blank.sh > ${WRKDIR}/s5-blank.sh
 		${FIND} ${WRKDIR} -type f -name .DS_Store -delete
--- patch-s5 ends here ---


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



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