freebsd-ports/sysutils/flock/Makefile
Kurt Jaeger 85778282f2 sysutils/flock: 2.19 -> 2.28
- This brings flock to the current state based on fetching the
  original util-linux sources and configuring them accordingly
- adding a NLS knob as suggested by portlint.
- For background on DIOCGDINFO see
  https://lists.freebsd.org/pipermail/freebsd-current/2015-January/053963.html
- Submitter becomes maintainer

PR:		210185
Changes: http://git.kernel.org/?p=utils/util-linux/util-linux.git/
Submitted by:	Franco Fichtner <franco@opnsense.org>
Approved by:	zont (maintainer)
2016-07-30 09:40:45 +00:00

35 lines
772 B
Makefile

# Created by: Andrey Zonov <andrey@zonov.org>
# $FreeBSD$
PORTNAME= flock
PORTVERSION= 2.28
CATEGORIES= sysutils
MASTER_SITES= KERNEL_ORG/linux/utils/util-linux/v${PORTVERSION}/
DISTNAME= util-linux-${PORTVERSION}
MAINTAINER= franco@opnsense.org
COMMENT= Manage locks from shell scripts
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= libtool pkgconfig
OPTIONS_DEFINE= NLS
NLS_CONFIGURE_OFF=--disable-nls
NLS_USES= autoreconf:autopoint gettext
PLIST_FILES= bin/flock man/man1/flock.1.gz
do-build:
# skip building unneeded utils
${MAKE} -C ${WRKSRC} flock
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flock ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/sys-utils/flock.1 \
${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>