Date: Thu, 23 Mar 2000 09:30:05 -0800 (PST) From: tkato@prontomail.ne.jp To: freebsd-gnats-submit@FreeBSD.org Subject: ports/17570: Update port: editors/biew Message-ID: <200003231730.JAA89447@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 17570 >Category: ports >Synopsis: Update port: editors/biew >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 23 09:40:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.0-RELEASE i386 >Organization: >Environment: >Description: - Support PREFIX properly - Fix pkg/PLIST - Add WWW: line into pkg/DESCR >How-To-Repeat: >Fix: diff -urN /usr/ports/editors/biew/Makefile editors/biew/Makefile --- /usr/ports/editors/biew/Makefile Tue Mar 21 08:51:36 2000 +++ editors/biew/Makefile Thu Mar 23 00:30:21 2000 @@ -26,6 +26,10 @@ MAKE_ARGS+= "OSLDEF=-L${LOCALBASE}/lib" .endif +post-patch: + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" \ + ${WRKSRC}/lib/sysdep/generic/unix/os_dep.c + pre-build: ${LN} -sf ${WRKSRC}/makefile ${WRKSRC}/Makefile @@ -40,8 +44,8 @@ ${LN} -sf ../tools/lzss/lzss ./;./biewhlp biewhlp.prj) do-install: - @ ${INSTALL_PROGRAM} ${WRKSRC}/biew ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/biew ${PREFIX}/bin @ ${MKDIR} ${PREFIX}/share/biew - @ ${INSTALL_DATA} ${WRKSRC}/hlp/biew.hlp ${PREFIX}/share/biew + ${INSTALL_DATA} ${WRKSRC}/hlp/biew.hlp ${PREFIX}/share/biew .include <bsd.port.post.mk> diff -urN /usr/ports/editors/biew/patches/patch-aa editors/biew/patches/patch-aa --- /usr/ports/editors/biew/patches/patch-aa Tue Mar 21 08:51:37 2000 +++ editors/biew/patches/patch-aa Thu Mar 23 00:25:03 2000 @@ -5,7 +5,7 @@ char * __get_help_name(void) { - return "/usr/lib/biew/biew.hlp"; -+ return "/usr/local/share/biew/biew.hlp"; ++ return "%%PREFIX%%/share/biew/biew.hlp"; } static void cleanup(int sig) diff -urN /usr/ports/editors/biew/pkg/DESCR editors/biew/pkg/DESCR --- /usr/ports/editors/biew/pkg/DESCR Tue Mar 21 08:51:37 2000 +++ editors/biew/pkg/DESCR Thu Mar 23 00:31:38 2000 @@ -3,3 +3,5 @@ with different Russia codepages support (Windows-1251, MSDOS-866, etc.). Run the program with -? or without arguments for help on program switches. + +WWW: http://biew.sourceforge.net/ diff -urN /usr/ports/editors/biew/pkg/PLIST editors/biew/pkg/PLIST --- /usr/ports/editors/biew/pkg/PLIST Tue Mar 21 08:51:37 2000 +++ editors/biew/pkg/PLIST Thu Mar 23 00:31:59 2000 @@ -1,2 +1,3 @@ bin/biew share/biew/biew.hlp +@dirrm share/biew >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003231730.JAA89447>