diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2015-12-28 14:48:58 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2015-12-28 14:48:58 +0000 |
commit | 8b246f0448ab8f062732e830f92dabe226579bf1 (patch) | |
tree | 758b718ae3af0771909c81cdc66f38a0be200b37 /net/ladvd/Makefile | |
parent | af5ea19196ed5c41a935ca8647ab0a77816c5cae (diff) |
Update to upstream version 1.1.0, fetch distfile from GitHub
PR: 204896
Submitted by: freebsd@simweb.ch
Reviewed by: riggs
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=404655
Diffstat (limited to 'net/ladvd/Makefile')
-rw-r--r-- | net/ladvd/Makefile | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/net/ladvd/Makefile b/net/ladvd/Makefile index 822852415dd3..c44fe566db0c 100644 --- a/net/ladvd/Makefile +++ b/net/ladvd/Makefile @@ -2,26 +2,28 @@ # $FreeBSD$ PORTNAME= ladvd -PORTVERSION= 1.0.4 -PORTREVISION= 2 +PORTVERSION= 1.1.0 +DISTVERSIONPREFIX=v CATEGORIES= net -MASTER_SITES= GOOGLE_CODE \ - http://blinkenlights.nl/software/ladvd/ MAINTAINER= sten@blinkenlights.nl -COMMENT= Minimal LLDP/CDP daemon +COMMENT= Minimal LLDP/CDP/EDP/FDP/NDP sender daemon LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/doc/LICENSE LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2 USERS= ladvd GROUPS= ${USERS} +USE_GITHUB= yes +GH_ACCOUNT= sspans +USES= autoreconf libtool pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-chroot-dir=/var/empty -PORTDOCS= * +PORTDOCS= README TODO HACKING USE_RC_SUBR= ladvd SUB_FILES= pkg-message @@ -32,8 +34,13 @@ PLIST_FILES= man/man8/ladvd.8.gz \ OPTIONS_DEFINE= DOCS -post-patch-DOCS-off: - @@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \ - ${WRKSRC}/doc/Makefile.in +.include <bsd.port.options.mk> + +.if ${OSVERSION} < 1000000 +CFLAGS_amd64= -fPIC +.endif + +post-patch: + ${REINPLACE_CMD} -e 's|LICENSE||' ${WRKSRC}/doc/Makefile.am .include <bsd.port.mk> |