2008-02-03 12:16:00 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2008/02/03 17:16:00 jasper Exp $
|
2007-06-26 17:03:17 -04:00
|
|
|
|
|
|
|
COMMENT= modular webapplication server for C++
|
|
|
|
|
2008-02-03 12:16:00 -05:00
|
|
|
DISTNAME= tntnet-1.6.1
|
2007-06-26 17:03:17 -04:00
|
|
|
CATEGORIES= www devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.tntnet.org/
|
|
|
|
|
2008-02-03 12:16:00 -05:00
|
|
|
MAINTAINER= Vijay Ramesh <vramesh2@uiuc.edu>
|
|
|
|
|
|
|
|
SO_VERSION= 1.0
|
2007-06-26 17:03:17 -04:00
|
|
|
.for _lib in alldemos calc calcajax calci18n calcmvc chat comp config controls \
|
|
|
|
cookie extlib hello savepoint session sprintf strings tntnet tntnet_cgi \
|
|
|
|
tntnet_sdk upload
|
|
|
|
SHARED_LIBS+= ${_lib} ${SO_VERSION}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c crypto m pthread ssl stdc++ z
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}download/
|
|
|
|
|
|
|
|
MODULES= converters/libiconv
|
|
|
|
|
|
|
|
MODULES+= gcc3
|
|
|
|
MODGCC3_ARCHES= sparc
|
|
|
|
MODGCC3_LANGS= c++
|
|
|
|
|
2007-10-31 13:37:09 -04:00
|
|
|
BUILD_DEPENDS= ::archivers/zip
|
2007-06-26 17:03:17 -04:00
|
|
|
LIB_DEPENDS= cxxtools::devel/cxxtools
|
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --with-ssl=openssl
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tntnet/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${PREFIX}/share/doc/tntnet/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/tntnet/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ecpp.vim ${PREFIX}/share/tntnet/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tntnet/
|
|
|
|
.for e in mime.conf tntnet.conf tntnet.properties
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/tntnet/$e ${PREFIX}/share/examples/tntnet/
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|