2003-08-25 04:01:11 +02:00
|
|
|
# Ports collection makefile for: pear-Net_NNTP
|
|
|
|
# Date created: 07 August 2003
|
|
|
|
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Net_NNTP
|
2003-12-05 18:39:37 +01:00
|
|
|
PORTVERSION= 0.10.1
|
2003-11-13 00:46:19 +01:00
|
|
|
CATEGORIES= net news www pear
|
2003-08-25 04:01:11 +02:00
|
|
|
|
2004-01-13 16:04:51 +01:00
|
|
|
MAINTAINER= clement@FreeBSD.org
|
2003-08-25 04:01:11 +02:00
|
|
|
COMMENT= PEAR class that provides an implementation of the NNTP protocol
|
|
|
|
|
2003-08-28 10:40:38 +02:00
|
|
|
BUILD_DEPENDS= ${PEARDIR}/Net/Socket.php:${PORTSDIR}/net/pear-Net_Socket
|
2003-08-25 04:01:11 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2003-12-28 10:11:28 +01:00
|
|
|
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
|
2003-08-25 04:01:11 +02:00
|
|
|
|
2003-12-05 18:39:37 +01:00
|
|
|
LIB_FILES= NNTP/Realtime.php NNTP/Protocol.php NNTP/Header.php NNTP/Message.php
|
|
|
|
PORTDOCS= README
|
|
|
|
|
|
|
|
.if defined(NOPORTEXAMPLES)
|
|
|
|
PLIST_SUB+= PORTEXAMPLES="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= PORTEXAMPLES=""
|
|
|
|
.endif
|
2003-08-28 10:40:38 +02:00
|
|
|
|
2003-08-25 04:01:11 +02:00
|
|
|
do-install:
|
2003-08-28 10:40:38 +02:00
|
|
|
@${MKDIR} ${PEARDIR}/Net/NNTP
|
2003-08-25 04:01:11 +02:00
|
|
|
@${CP} -p ${WRKSRC}/NNTP.php ${PEARDIR}/Net
|
2003-08-28 10:40:38 +02:00
|
|
|
.for FILE in ${LIB_FILES}
|
|
|
|
@${CP} -p ${WRKSRC}/${FILE} ${PEARDIR}/Net/NNTP
|
|
|
|
.endfor
|
2003-08-25 04:01:11 +02:00
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Net
|
2003-12-05 18:39:37 +01:00
|
|
|
.if !(NOPORTEXAMPLES)
|
2003-10-08 00:56:00 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2003-12-05 18:39:37 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/news.php.net/*.php ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/news.php.net/${PORTDOCS} ${DOCSDIR}
|
2003-10-08 00:56:00 +02:00
|
|
|
.endif
|
2003-08-25 04:01:11 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|