diff options
Diffstat (limited to 'net/pear-Net_NNTP')
-rw-r--r-- | net/pear-Net_NNTP/Makefile | 31 | ||||
-rw-r--r-- | net/pear-Net_NNTP/pkg-plist | 13 |
2 files changed, 5 insertions, 39 deletions
diff --git a/net/pear-Net_NNTP/Makefile b/net/pear-Net_NNTP/Makefile index fb3f4b2785d1..17d4d68d919a 100644 --- a/net/pear-Net_NNTP/Makefile +++ b/net/pear-Net_NNTP/Makefile @@ -15,32 +15,11 @@ 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} +CATEGORY= Net +FILES= NNTP.php NNTP/Protocol.php NNTP/Header.php NNTP/Message.php +EXAMPLES= README read.php group.php index.php +_EXAMPLESDIR= examples/news.php.net + .include <bsd.port.pre.mk> .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" - -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 - -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 !(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/examples/news.php.net/*.php ${EXAMPLESDIR} -.endif -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/examples/news.php.net/${PORTDOCS} ${DOCSDIR} -.endif - .include <bsd.port.post.mk> diff --git a/net/pear-Net_NNTP/pkg-plist b/net/pear-Net_NNTP/pkg-plist deleted file mode 100644 index 50300031992e..000000000000 --- a/net/pear-Net_NNTP/pkg-plist +++ /dev/null @@ -1,13 +0,0 @@ -%%PEARDIR%%/Net/NNTP.php -%%PEARDIR%%/Net/NNTP/Header.php -%%PEARDIR%%/Net/NNTP/Message.php -%%PEARDIR%%/Net/NNTP/Protocol.php -%%PEARDIR%%/Net/NNTP/Realtime.php -%%PKGREGDIR%%/package.xml -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/read.php -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/group.php -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/index.php -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% -@dirrm %%PEARDIR%%/Net/NNTP -@dirrm %%PKGREGDIR%% -@unexec rmdir %D/share/pear/Net 2> /dev/null || true |