freebsd-ports/net/enet/Makefile
Sylvio Cesar Teixeira 7da9a4be40 - Update to version 1.3.4
PR:		ports/168604
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2012-06-05 21:00:23 +00:00

41 lines
844 B
Makefile

# New ports collection makefile for: enet
# Date created: 2006-09-23
# Whom: Stanislav Sedov <stas@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= enet
PORTVERSION= 1.3.4
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= http://enet.bespin.org/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple and robust communication library based on UDP
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= DOCS
USE_AUTOTOOLS= aclocal automake autoconf libtool
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
PORTDOCS= *
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/^pkgconfigdir/s|$$(libdir)|$$(prefix)/libdata|' \
${WRKSRC}/Makefile.am
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} html ${DOCSDIR})
.endif
.include <bsd.port.mk>