diff options
author | sat <sat@FreeBSD.org> | 2007-12-21 21:08:06 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2007-12-21 21:08:06 +0800 |
commit | af29d7703415dc25415cd2525c52f36e4d657c7d (patch) | |
tree | c8191801ed000888ff46d124d17843278476f263 /devel/stfl | |
parent | e30ba6dd13e8af25fc67f67b38590938f4f6a66e (diff) | |
download | freebsd-ports-gnome-af29d7703415dc25415cd2525c52f36e4d657c7d.tar.gz freebsd-ports-gnome-af29d7703415dc25415cd2525c52f36e4d657c7d.tar.zst freebsd-ports-gnome-af29d7703415dc25415cd2525c52f36e4d657c7d.zip |
- Update to 0.18
- Prefer ncursesw from ports when both ports and /lib versions
are available, to avoid conflict with newsbeuter, which depends
on stfl and prefers ncursesw from ports.
Diffstat (limited to 'devel/stfl')
-rw-r--r-- | devel/stfl/Makefile | 16 | ||||
-rw-r--r-- | devel/stfl/distinfo | 6 |
2 files changed, 14 insertions, 8 deletions
diff --git a/devel/stfl/Makefile b/devel/stfl/Makefile index 765cb9d4726c..74cf88fee0c6 100644 --- a/devel/stfl/Makefile +++ b/devel/stfl/Makefile @@ -6,7 +6,7 @@ # PORTNAME= stfl -PORTVERSION= 0.15 +PORTVERSION= 0.18 CATEGORIES= devel MASTER_SITES= http://www.clifford.at/stfl/ CENKES @@ -19,6 +19,8 @@ USE_ICONV= yes ALL_TARGET= libstfl.so PLIST_FILES= lib/libstfl.so.1 lib/libstfl.so include/stfl.h CFLAGS+= -I${LOCALBASE}/include +LDLIBS+= -L${LOCALBASE}/lib +MAKE_ENV= LDLIBS="${LDLIBS}" .include <bsd.port.pre.mk> @@ -32,14 +34,18 @@ NCURSES_INC= ncurses/ .endif post-patch: - @${REINPLACE_CMD} -e 's|\.a|.so|g;/ranlib/d;s|ar qc|$${CC} $${CFLAGS} -shared -fPIC -o|;\ - s|sed -r|sed -E|;s|-Os||;/gcc/d;/-MM/s|-I.|$${CFLAGS}|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|\.a|.so|g;/ranlib/d;\ + s|ar qc|$${CC} $${CFLAGS} ${PTHREAD_LIBS} $${LDLIBS} -shared -fPIC -o|;\ + s|sed -r|sed -E|;s|-Os||;/gcc/d;/-MM/s|-I.|$${CFLAGS}|'\ + ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|alloca.h|stdlib.h|' ${WRKSRC}/widgets/*.c - @${REINPLACE_CMD} -e 's|ncursesw/|${NCURSES_INC}|' ${WRKSRC}/stfl_internals.h + @${REINPLACE_CMD} -e 's|ncursesw/|${NCURSES_INC}|'\ + ${WRKSRC}/stfl_internals.h @${ECHO_CMD} 'prefix = ${PREFIX}' > ${WRKSRC}/Makefile.cfg pre-build: - @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} Makefile.deps + @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV}\ + ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} Makefile.deps do-install: @${INSTALL_PROGRAM} ${WRKSRC}/libstfl.so ${PREFIX}/lib/libstfl.so.1 diff --git a/devel/stfl/distinfo b/devel/stfl/distinfo index b7efd062b3dc..f65093b96775 100644 --- a/devel/stfl/distinfo +++ b/devel/stfl/distinfo @@ -1,3 +1,3 @@ -MD5 (stfl-0.15.tar.gz) = 7b479ccf51deb85e6bab29e6f1616cdc -SHA256 (stfl-0.15.tar.gz) = 933d86569ad64da8591305db6175ee348d4d927940e342249270f15040c72f17 -SIZE (stfl-0.15.tar.gz) = 38746 +MD5 (stfl-0.18.tar.gz) = 06e55d60b45332afdd15d1482470f2ac +SHA256 (stfl-0.18.tar.gz) = 2295378d21596eb4aa5c775bfd0385db82825a18f093a9c0ba2a32c03f423832 +SIZE (stfl-0.18.tar.gz) = 39188 |