diff options
author | ache <ache@FreeBSD.org> | 2000-06-09 05:56:12 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-06-09 05:56:12 +0000 |
commit | b1d213154bdafe27fe738a98e5b4c1f48d6ea6f0 (patch) | |
tree | 7188a0228142050ff3364119cb9bd63275c7713f /editors/biew/Makefile | |
parent | 79b711df8cdfc0afd0776364daad53a0d06cb3b2 (diff) | |
download | FreeBSD-ports-b1d213154bdafe27fe738a98e5b4c1f48d6ea6f0.zip FreeBSD-ports-b1d213154bdafe27fe738a98e5b4c1f48d6ea6f0.tar.gz |
Upgrade to 5.10
Diffstat (limited to 'editors/biew/Makefile')
-rw-r--r-- | editors/biew/Makefile | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/editors/biew/Makefile b/editors/biew/Makefile index 794d727..a717b96 100644 --- a/editors/biew/Makefile +++ b/editors/biew/Makefile @@ -6,46 +6,49 @@ # PORTNAME= biew -PORTVERSION= 5.04 +PORTVERSION= 5.10 CATEGORIES= editors MASTER_SITES= ftp://biew.sourceforge.net/pub/biew/5.x/src/ \ http://download.sourceforge.net/biew/ -DISTNAME= ${PORTNAME}-504 +DISTNAME= ${PORTNAME}-510 MAINTAINER= ports@FreeBSD.org USE_BZIP2= yes USE_GMAKE= yes -MAKE_ARGS= "USE_NCURSES_PSEUDO=y" .include <bsd.port.pre.mk> +HOST_CFLAGS= ${CFLAGS} +HOST_LD= ${CC} +MAKEFILE= makefile + .if ${OSVERSION} < 400010 -LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses -MAKE_ARGS+= "CSYSFLAGS=-D__FreeBSD_version=${OSVERSION} -I${LOCALBASE}/include" -MAKE_ARGS+= "OSLDEF=-L${LOCALBASE}/lib" +LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses +HOST_CFLAGS+= -D__FreeBSD_version=${OSVERSION} -I${LOCALBASE}/include +HOST_LD+= -L${LOCALBASE}/lib .endif +MAKE_ARGS+= HOST_CFLAGS="${HOST_CFLAGS}" LD="${HOST_LD}" \ + TARGET_OS=unix TARGET_SCREEN_LIB=curses \ + USE_MOUSE=y + 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 - post-build: - @ ${LN} -sf ${WRKSRC}/tools/biewhlp/makefile ${WRKSRC}/tools/biewhlp/Makefile - @ ${LN} -sf ${WRKSRC}/tools/lzss/makefile ${WRKSRC}/tools/lzss/Makefile - @ ${LN} -sf ${WRKSRC}/lib ${WRKSRC}/tools/biewhlp/lib - @ ${LN} -sf ${WRKSRC}/lib ${WRKSRC}/tools/lzss/lib - @ (cd ${WRKSRC}/tools/biewhlp;${GMAKE}) - @ (cd ${WRKSRC}/tools/lzss;${GMAKE}) + @ ${LN} -sf ../../lib ${WRKSRC}/tools/biewhlp/lib + cd ${WRKSRC}/tools/biewhlp; ${GMAKE} ${MAKE_ARGS} + @ ${LN} -sf ../../lib ${WRKSRC}/tools/lzss/lib + cd ${WRKSRC}/tools/lzss; ${GMAKE} ${MAKE_ARGS} @ (cd ${WRKSRC}/hlp;${LN} -sf ../tools/biewhlp/biewhlp ./;\ ${LN} -sf ../tools/lzss/lzss ./;./biewhlp biewhlp.prj) do-install: ${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 ${WRKSRC}/bin_rc/standard.skn \ + ${PREFIX}/share/biew .include <bsd.port.post.mk> |