Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/stfl/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- Makefile 2 May 2007 19:05:14 -0000 1.2 +++ Makefile 2 Aug 2007 13:22:13 -0000 @@ -6,23 +6,39 @@ # PORTNAME= stfl -PORTVERSION= 0.8 +PORTVERSION= 0.15 CATEGORIES= devel MASTER_SITES= http://www.clifford.at/stfl/ CENKES MAINTAINER= infofarmer@FreeBSD.org COMMENT= Structured Terminal Forms Language/Library +BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed + USE_LDCONFIG= yes USE_GMAKE= yes +USE_ICONV= yes ALL_TARGET= libstfl.so -CFLAGS+= -fPIC PLIST_FILES= lib/libstfl.so.0 lib/libstfl.so include/stfl.h +CFLAGS+= -I${LOCALBASE}/include + +.include + +.if ${OSVERSION} < 503000 +BROKEN= Unicoded ncurses require 5.3 +.endif + +.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033) +LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses +NCURSES_INC= ncurses/ +.endif post-patch: @${REINPLACE_CMD} -e 's|\.a|.so|g;/ranlib/d;s|ar qc|${CC} -shared -fPIC -o|'\ + -e 's, sed , gsed ,' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|alloca.h|stdlib.h|' ${WRKSRC}/widgets/*.c + @${REINPLACE_CMD} -e 's|ncursesw/|${NCURSES_INC}|' ${WRKSRC}/stfl_internals.h @${ECHO_CMD} 'prefix = ${PREFIX}' > ${WRKSRC}/Makefile.cfg pre-build: @@ -33,4 +49,4 @@ @${LN} -sf ${PREFIX}/lib/libstfl.so.0 ${PREFIX}/lib/libstfl.so @${INSTALL_DATA} ${WRKSRC}/stfl.h ${PREFIX}/include/ -.include +.include Index: distinfo =================================================================== RCS file: /home/ncvs/ports/devel/stfl/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- distinfo 2 May 2007 19:05:14 -0000 1.2 +++ distinfo 2 Aug 2007 13:18:33 -0000 @@ -1,3 +1,3 @@ -MD5 (stfl-0.8.tar.gz) = 87a7df20c007d91181c3daa70270bffc -SHA256 (stfl-0.8.tar.gz) = 7c922fdc59c180b278dc9ef5dc76d6900cc6489d5a70a7f6b4275cae9a6afa1c -SIZE (stfl-0.8.tar.gz) = 28313 +MD5 (stfl-0.15.tar.gz) = 7b479ccf51deb85e6bab29e6f1616cdc +SHA256 (stfl-0.15.tar.gz) = 933d86569ad64da8591305db6175ee348d4d927940e342249270f15040c72f17 +SIZE (stfl-0.15.tar.gz) = 38746