1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/devel/dsss/Makefile
2013-03-28 15:51:16 +00:00

48 lines
992 B
Makefile

# New ports collection makefile for: dsss
# Date created: 14 Jun 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= dsss
PORTVERSION= 0.78
CATEGORIES= devel
MASTER_SITES= http://svn.dsource.org/projects/dsss/downloads/${PORTVERSION}/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= D Shared Software System
BUILD_DEPENDS= gdc:${PORTSDIR}/lang/gdc
USE_BZIP2= yes
MAKEFILE= Makefile.gdc.posix
MAKE_ENV= NATIVECXX="${CXX}"
MAKE_JOBS_UNSAFE= yes
PORTDOCS= *
MAN1= dsss.1 rebuild.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 900027
BROKEN= does not build
.endif
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' \
${WRKSRC}/dsss.conf
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|install docs.*share/doc/dsss ;||' \
${WRKSRC}/dsss.conf
.endif
.for var in CXX NATIVECXX CXXFLAGS PREFIX
@${REINPLACE_CMD} -e '/^${var}=/ d' ${WRKSRC}/${MAKEFILE} \
${WRKSRC}/rebuild/Makefile
.endfor
.include <bsd.port.post.mk>