openbsd-ports/devel/stfl/Makefile
ajacoutot 15ce3a1ece Import stfl-0.22.
STFL is a library which implements a curses-based widget set for text
terminals. The public STFL API is only 14 simple function calls big and
there are already generic SWIG bindings. Thus is very easy to port STFL
to additional scripting languages.
<...>

ok jasper@
2012-12-30 17:59:36 +00:00

51 lines
1.0 KiB
Makefile
Executable File

# $OpenBSD: Makefile,v 1.1.1.1 2012/12/30 17:59:36 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= Structured Terminal Forms Language/Library
DISTNAME= stfl-0.22
SHARED_LIBS+= stfl 0.0
CATEGORIES= devel
HOMEPAGE= http://www.clifford.at/stfl/
# LGPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ncursesw pthread
MASTER_SITES= ${HOMEPAGE}
MODULES= converters/libiconv
ALL_TARGET= libstfl.so.${LIBstfl_VERSION}
USE_GMAKE= Yes
NO_REGRESS= Yes
MAKE_FLAGS= FOUND_SPL=0 \
FOUND_SWIG=0 \
FOUND_PERL5=0 \
FOUND_PYTHON=0 \
FOUND_RUBY=0
pre-configure:
${SUBST_CMD} ${WRKSRC}/Makefile
post-build:
cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} ${MAKEFILE} stfl.pc
do-install:
${INSTALL_DATA} ${WRKBUILD}/libstfl.so.${LIBstfl_VERSION} ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/stfl.h ${PREFIX}/include/
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
${INSTALL_DATA} ${WRKSRC}/stfl.pc ${PREFIX}/lib/pkgconfig
.include <bsd.port.mk>