# Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= rudiments PORTVERSION= 0.46 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= 5u623l20@gmail.com COMMENT= C++ class library for daemons, clients, servers, and more LICENSE= LGPL20 GNU_CONFIGURE= yes USES= libtool:keepla pkgconfig shebangfix SHEBANG_FILES= doc/programming/insert.pl USE_LDCONFIG= yes PLIST_SUB= VERSION="${PORTVERSION}" PORTDOCS= * OPTIONS_DEFINE= DOCS PCRE SSL OPTIONS_DEFAULT= SSL PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre PCRE_CONFIGURE_ENABLE= pcre SSL_USE= OPENSSL=yes SSL_CONFIGURE_ENABLE= ssl SSL_CONFIGURE_ON= --with-ssl-includes=-I${OPENSSLINC} \ --with-ssl-libs=-L${OPENSSLLIB} post-patch: @${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} ${REINPLACE_CMD} -e \ '/pkgconfig/s| $$(libdir)/| $${DESTDIR}$$(prefix)/libdata/| ; \ /INSTALL/s| $$(bindir)| $${DESTDIR}$$(bindir)| ; \ /INSTALL/s| $$(docdir)| $${DESTDIR}$$(docdir)| ; \ /INSTALL/s| $$(includedir)| $${DESTDIR}$$(includedir)| ; \ /INSTALL/s| $$(mandir)| $${DESTDIR}$$(mandir)| ; \ /INSTALL/s| $$(libdir)| $${DESTDIR}$$(libdir)| ; \ /finish/s| $$(libdir)| $${DESTDIR}$$(libdir)|' post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librudiments-0.46.so.1 .include