* 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 @@ #
State Changed From-To: open->closed Committed, thanks!