aboutsummaryrefslogblamecommitdiff
path: root/news/s-news/Makefile
blob: ed27727b705ca81b317a987c6deac43ed33a840a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               


                      
                 


                                       
                                 

                                                                  
                                         
 
                                           
 
                  
                                                     
                                                 
                                  
                                      
 
                              
                   
 

                                                   

                    
             

                                                                         

                      
# Created by: Andrey Slusar <anray@FreeBSD.org>

PORTNAME=	s-news
PORTVERSION=	0.1.11
PORTREVISION=	5
CATEGORIES=	news
MASTER_SITES=	http://www.lost.org.uk/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Simple news server for hosts with one or two users

LIB_DEPENDS=	libgdbm.so:databases/gdbm

CONFLICTS=	leafnode-[1-9]* nntp-[0-9]*

CONFIGURE_ARGS+= \
		--with-confdir=${PREFIX}/etc/s-news \
		--with-spooldir=/var/spool/s-news
LDFLAGS+=	-L${LOCALBASE}/lib
CPPFLAGS+=	-I${LOCALBASE}/include

USES=		gmake fakeroot
GNU_CONFIGURE=	yes

PORTDOCS=	README README.conf README.suck TODO

OPTIONS_DEFINE=	DOCS

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>