Bug 75772 - MAINTAINER-UPDATE: editors/biew 5.6.0 -> 5.6.2 and cleanup
Summary: MAINTAINER-UPDATE: editors/biew 5.6.0 -> 5.6.2 and cleanup
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-03 23:20 UTC by Ryan Thompson
Modified: 2005-01-08 22:40 UTC (History)
0 users

See Also:


Attachments
file.diff (634 bytes, patch)
2005-01-03 23:20 UTC, Ryan Thompson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Thompson 2005-01-03 23:20:23 UTC
     * Update to latest, 5.6.2
     * Co-operate a little better with portlint
     * Take advantage of PLIST_* make vars

Fix: Apply this patch, and remember to delete pkg-plist, please!

PORTNAME=	biew
-PORTVERSION=	5.6.0
+PORTVERSION=	5.6.2
  CATEGORIES=	editors
  MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
  MASTER_SITE_SUBDIR=	${PORTNAME}
-DISTNAME=	${PORTNAME}-${PORTVERSION:S/.//g}
+DISTNAME=	${PORTNAME}${PORTVERSION:S/.//g}

  MAINTAINER=	ryan@sasknow.com
-
  COMMENT=	Binary vIEWer + editor for binary, hexadecimal and dis-asm modes

+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//g}
+
  USE_BZIP2=	yes
  USE_GMAKE=	yes

  PORTDOCS=	biew_en.txt biew_ru.txt develop.en develop.ru file_ini.en \
  		file_ini.ru licence.en licence.ru release.txt unix.txt

-.include <bsd.port.pre.mk>
+PLIST_FILES=	bin/biew \
+		share/biew/assembly.skn \
+		share/biew/biew.hlp \
+		share/biew/golded.skn \
+		share/biew/insight.skn \
+		share/biew/standard.skn \

-HOST_CFLAGS=	${CFLAGS} -DPREFIX="\'\"${PREFIX}\"\'"
-MAKEFILE=	makefile
+PLIST_DIRS=	share/biew
+
+.include <bsd.port.pre.mk>

  .if ${OSVERSION} < 400010
  LIB_DEPENDS=	ncurses.5:${PORTSDIR}/devel/ncurses
@@ -33,11 +40,14 @@
  HOST_LD+=	-L${LOCALBASE}/lib
  .endif

+HOST_CFLAGS=	${CFLAGS} -DPREFIX="\'\"${PREFIX}\"\'"
+MAKEFILE=	makefile
+
  MAKE_ARGS+=	HOST_CFLAGS="${HOST_CFLAGS}" CC="${CC}" LD="${CC}" \
  		TARGET_OS=unix TARGET_SCREEN_LIB=curses \
  		USE_MOUSE=y

-.if ${MACHINE_ARCH} != "i386"
+.if ${ARCH} != "i386"
  MAKE_ARGS+=	TARGET_PLATFORM=generic
  .endif



--
   Ryan Thompson <ryan@sasknow.com>

   SaskNow Technologies - http://www.sasknow.com
   901-1st Avenue North - Saskatoon, SK - S7K 1Y4

         Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
   Toll-Free: 877-727-5669     (877-SASKNOW)     North America--r3kMctWkwWluPWc35mDcM0jJ1A45gzsPTKGkOvdGnGanDg9N
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -ruN biew.orig/Makefile biew/Makefile
--- biew.orig/Makefile	Thu Apr  1 02:47:23 2004
+++ biew/Makefile	Fri Dec 31 01:13:04 2004
@@ -6,26 +6,33 @@
  #
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2005-01-08 22:40:36 UTC
State Changed
From-To: open->closed

Committed, thanks!