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







                                                 
                   

                                              






                                                   
                           

               
                                                                    
                                                                                   
 


                                                                     
                      
# New ports collection makefile for:    miniupnpc
# Date created:         31 Oct 2007
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=	miniupnpc
PORTVERSION=	1.1
CATEGORIES=	net
MASTER_SITES=	http://miniupnp.free.fr/files/

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	UPnP IGD client lightweight library

USE_GMAKE=	yes
MAKE_ENV+=	INSTALLPREFIX=${PREFIX}
USE_LDCONFIG=	yes
MAN3=		miniupnpc.3

post-configure:
	${REINPLACE_CMD} -e 's|--mode=|-m |' -e 's|--symbolic|-s|' \
		-e 's| -Wall | -Wall -fPIC |' -e 's|--force|-f|' ${WRKSRC}/Makefile

post-install:
	${INSTALL_MAN} ${WRKSRC}/man3/miniupnpc.3 ${PREFIX}/man/man3/

.include <bsd.port.mk>