aboutsummaryrefslogtreecommitdiff
path: root/net/pear-Net_NNTP/Makefile
blob: 9ff89dadb73099218428d5855cb32b7385cbc292 (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
# Ports collection makefile for:	pear-Net_NNTP
# Date created:				07 August 2003
# Whom:					Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
#

PORTNAME=	Net_NNTP
PORTVERSION=	0.9.3
CATEGORIES=	net news www

MAINTAINER=	sheepkiller@cultdeadsheep.org
COMMENT=	PEAR class that provides an implementation of the NNTP protocol

BUILD_DEPENDS=	${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
RUN_DEPENDS=	${BUILD_DEPENDS}

.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"

LIB_FILES=	NNTP/Protocol.php NNTP/Header.php NNTP/Message.php

do-install:
	@${MKDIR} ${PEARDIR}/Net/NNTP
	@${CP} -p ${WRKSRC}/NNTP.php ${PEARDIR}/Net
.for FILE in ${LIB_FILES}
	@${CP} -p ${WRKSRC}/${FILE} ${PEARDIR}/Net/NNTP
.endfor
	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Net
.if !(NOPORTDOCS)
	@${MKDIR} ${EXAMPLESDIR}
	@${INSTALL_DATA} ${WRKSRC}/examples/news.php.net/* ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>