aboutsummaryrefslogblamecommitdiff
path: root/net/ladvd/Makefile
blob: 74fc3bb4571bb84d5fc2196f66fa6e1cac645d88 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                   
           

                     
                     
                 
                   
                             
                                                       

                                     
                                       
 

                   
                                                       
 

                        
 
                   
                                            
 
                 
                     

                           


                                      
                           
 



                              
           
                           

                                                                                        

      
                      
# Created by: sten@blinkenlights.nl
# $FreeBSD$

PORTNAME=	ladvd
PORTVERSION=	1.0.4
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	GOOGLE_CODE \
		http://blinkenlights.nl/software/ladvd/

MAINTAINER=	sten@blinkenlights.nl
COMMENT=	Minimal LLDP/CDP daemon

LICENSE=	BSD

LIB_DEPENDS=	libevent.so:${PORTSDIR}/devel/libevent2

USERS=		ladvd
GROUPS=		${USERS}

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-chroot-dir=/var/empty

PORTDOCS=	*
USE_RC_SUBR=	ladvd
SUB_FILES=	pkg-message

PLIST_FILES=	man/man8/ladvd.8.gz \
		man/man8/ladvdc.8.gz \
		sbin/ladvd \
		sbin/ladvdc

OPTIONS_DEFINE=	DOCS

.include <bsd.port.options.mk>

post-patch:
.if ! ${PORT_OPTIONS:MDOCS}
	@@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \
		${WRKSRC}/doc/Makefile.in
.endif

.include <bsd.port.mk>