94d0728d03
you need to write network-centric, web-enabled and internationalized applications in C++. It enables you to: * create network clients and servers using either raw socket facilities or higher-level protocols such as HTTP and FTP. * create multi-threaded applications and manage synchronization between threads using simple but effective threading abstractions which are common to all platforms. * use the full Unicode character range, using built-in character types and standard string classes. * use byte and character streams and manipulate files using an API inspired by the excellent java.io package. * take advantage of its open architecture by registering your own (or third-party) classes to perform custom processing. * write portable applications and extension libraries. OpenTop is an ideal base on which to deliver cross-platform solutions, benefitting independent software vendors and corporate IT departments. * integrate XML into your C++ applications with the C++ XML Toolkit extension library. PR: 59887 Submitted by: Sergey Matveychuk <sem@ciam.ru>
64 lines
1.5 KiB
Makefile
64 lines
1.5 KiB
Makefile
# New ports collection makefile for: opentop
|
|
# Date created: 17 November 2003
|
|
# Whom: Sergey Matveychuk <sem@ciam.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= opentop
|
|
PORTVERSION= 1.3.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= open-top
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C|\.|-|g}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
${DOCDIST}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= sem@ciam.ru
|
|
COMMENT= A cross-platform C++ framework library
|
|
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
INSTALLS_SHLIB= yes
|
|
|
|
DOCDIST= ${PORTNAME}-api-${PORTVERSION:C|\.[0-9]$||:C|\.|-|g}
|
|
|
|
WCHAR= "@comment "
|
|
STATIC= "@comment "
|
|
DEBUG= "@comment "
|
|
|
|
ALL_TARGET= release_multi_char_shared
|
|
|
|
.if defined(WITH_WCHAR)
|
|
ALL_TARGET+= release_multi_wchar_shared
|
|
WCHAR= ""
|
|
.endif
|
|
.if defined(WITH_DEBUG)
|
|
ALL_TARGET+= debug_multi_char_shared
|
|
.if defined(WITH_WCHAR)
|
|
ALL_TARGET+= debug_multi_wchar_shared
|
|
.endif
|
|
DEBUG= ""
|
|
.endif
|
|
|
|
PLIST_SUB+= WCHAR=${WCHAR} DEBUG=${DEBUG}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} "s/-O3/${CFLAGS}/" \
|
|
${WRKSRC}/buildtools/cxx_compiler_options \
|
|
${WRKSRC}/buildtools/gcc_compiler_options
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/include/${PORTNAME}
|
|
cd ${WRKSRC}; ${FIND} ot -name *.h -print | ${TAR} cTf - - | \
|
|
${TAR} xUCf ${PREFIX}/include/${PORTNAME} -
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lib/*.so ${PREFIX}/lib
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKDIR}/${DOCDIST}/html; ${TAR} cf - . | ${TAR} xUCf ${DOCSDIR} -
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|