aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/hagelslag/Makefile
blob: e05fb65fb85c6bed446269528dab86709116bc87 (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
# New ports collection makefile for:    hagelslag
# Date created:     14 February 2001
# Whom:             Johann Visagie <johann@egenetics.com>
#
# $FreeBSD$
#

PORTNAME=   hagelslag
PORTVERSION=    0.13
PORTREVISION=   1
CATEGORIES= net-p2p
MASTER_SITES=   http://freebsd.unixfreunde.de/sources/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A flexible command-line Gnutella implementation with advanced features

DEPRECATED= No more public distfiles
EXPIRATION_DATE=    2011-09-01

BUILD_DEPENDS=  makedepend:${PORTSDIR}/devel/makedepend

USE_GMAKE=  yes
MAKEFILES=  Makefile gui/Makefile src/Makefile
HS_DOCDIR=  ${PREFIX}/share/doc/${PORTNAME}

post-patch:
.for mfile in ${MAKEFILES}
    @ ${REINPLACE_CMD} -e 's#make -C#\$${MAKE} -C#' ${WRKSRC}/${mfile}
.endfor

post-install:
.if !defined(NOPORTDOCS)
    @ ${MKDIR} ${HS_DOCDIR}
    @ ${INSTALL_DATA} ${WRKSRC}/doc/* ${HS_DOCDIR}
.endif

.include <bsd.port.mk>