openbsd-ports/www/tntnet/Makefile
naddy 5ba9e6cafd Epoch bump for lang/gcc/3.3 because the version number shouldn't
count as older than one from 2005.

Revision bump for all ports that depend on libstdc++-3 because the
package specs have changed.
2011-01-15 01:07:45 +00:00

58 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2011/01/15 01:07:45 naddy Exp $
COMMENT= modular webapplication server for C++
DISTNAME= tntnet-1.6.2
REVISION= 0
CATEGORIES= www devel
HOMEPAGE= http://www.tntnet.org/
MAINTAINER= Vijay Ramesh <vramesh2@uiuc.edu>
SO_VERSION= 1.0
.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
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c crypto cxxtools>=2 m pthread ssl stdc++ z
MASTER_SITES= ${HOMEPAGE}download/
MODULES= converters/libiconv
MODULES+= gcc3
MODGCC3_ARCHES= sparc
MODGCC3_LANGS= c++
BUILD_DEPENDS= archivers/zip
LIB_DEPENDS= devel/cxxtools
USE_LIBTOOL= Yes
USE_GMAKE= Yes
USE_GROFF = 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>