aboutsummaryrefslogtreecommitdiffstats
path: root/devel/dsss/Makefile
blob: c94313bfdf659035fea5bd1d495e47d2ab8a84e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    dsss
# Date created:     14 Jun 2008
# Whom:         Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   dsss
PORTVERSION=    0.75
CATEGORIES= devel
MASTER_SITES=   http://svn.dsource.org/projects/dsss/downloads/${PORTVERSION}/ \
        http://www.amdmi3.ru/distfiles/

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    D Shared Software System

BUILD_DEPENDS=  gdc:${PORTSDIR}/lang/gdc

USE_BZIP2=  yes
MAKEFILE=   Makefile.gdc.posix

MAKE_ENV=   NATIVECXX="${CXX}"

PORTDOCS=   *

MAN1=       dsss.1 rebuild.1

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.mk>