ports/96306: [PATCH] Add necessary DOS2UNIX to textproc/s5
Xin LI
delphij at FreeBSD.org
Tue Apr 25 08:40:16 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list