1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/devel/uds/Makefile
2001-05-10 14:52:51 +00:00

37 lines
824 B
Makefile

# ex:ts=8
# New ports collection makefile for: uds
# Date created: Feb 27, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= uds
PORTVERSION= 0.9.5
CATEGORIES= devel
MASTER_SITES= http://frost.flewid.de/dist/
MAINTAINER= ijliao@FreeBSD.org
USE_NEWGCC= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
pre-patch:
@${PERL} -pi -e 's|\$$OPTFLAGS|\$$CFLAGS|g ; \
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@find ${WRKSRC} -name 'Makefile.in' | xargs ${PERL} -pi -e \
's|install-data-hook|#install-data-hook|g ; \
s|-D_REENTRANT|-D_REENTRANT ${PTHREAD_CFLAGS}|g ; \
s|-lpthread|${PTHREAD_LIBS}|g'
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/uds
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/uds
.endif
.include <bsd.port.mk>