1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/devel/rudiments/Makefile
Sylvio Cesar Teixeira 56801ec952 - Fix plist with -DNOPORTDOCS.
Submitted by:	QAT
Approved by:	mentor (itetcu@)
2009-11-07 19:10:17 +00:00

55 lines
1.4 KiB
Makefile

# New ports collection makefile for: rudiments
# Date created: 2 July 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= rudiments
PORTVERSION= 0.32
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A utility C++ class library for daemons, clients, servers and more
USE_GNOME= gnometarget pkgconfig
USE_OPENSSL= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:22
CONFIGURE_ENV= PTHREADINCLUDES="${PTHREAD_CFLAGS}" \
PTHREADLIB="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-ssl-includes=-I${OPENSSLINC} \
--with-ssl-libs=-L${OPENSSLLIB} \
--disable-pcre
USE_LDCONFIG= yes
ROOTDIRS= classes css programming programming/parts
post-patch:
${REINPLACE_CMD} -e 's,/usr/bin/perl,${PREFIX}/bin/perl,g' \
${WRKSRC}/doc/programming/insert.pl
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for dirs in ${ROOTDIRS}
@${MKDIR} ${DOCSDIR}/${dirs}
.endfor
@${INSTALL_DATA} ${WRKSRC}/doc/classes/*.html \
${DOCSDIR}/classes
@${INSTALL_DATA} ${WRKSRC}/doc/css/*.css \
${DOCSDIR}/css
@${INSTALL_DATA} ${WRKSRC}/doc/programming/*.html \
${DOCSDIR}/programming
@${INSTALL_SCRIPT} ${WRKSRC}/doc/programming/*.pl \
${DOCSDIR}/programming
@${INSTALL_DATA} ${WRKSRC}/doc/programming/parts/*.html \
${DOCSDIR}/programming/parts
@${INSTALL_DATA} ${WRKSRC}/doc/*.html \
${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/*.gif \
${DOCSDIR}
.endif
.include <bsd.port.mk>