# New ports collection makefile for:	shlock
# Date created:		8 July 2002
# Whom:			dougb
#
# $FreeBSD: ports/sysutils/shlock/Makefile,v 1.10 2006/05/22 00:07:03 dougb Exp $
#

PORTNAME=	shlock
PORTVERSION=	2.4.3
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_ISC} \
		http://dougbarton.us/Downloads/%SUBDIR%/
MASTER_SITE_SUBDIR=inn
DISTFILES=	inn-${PORTVERSION}${EXTRACT_SUFX} \
		inn-${PORTVERSION}${EXTRACT_SUFX}.asc
EXTRACT_ONLY=	inn-${PORTVERSION}${EXTRACT_SUFX}

MAINTAINER=	DougB@FreeBSD.org
COMMENT=	Create lock files for use in shell scripts

HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	--without-perl

MAN1=		shlock.1
PLIST_FILES=	bin/shlock

WRKSRC=		${WRKDIR}/inn-${PORTVERSION}

verify:	checksum
	gpg --verify ${DISTDIR}/inn-${PORTVERSION}${EXTRACT_SUFX}.asc

do-build:
	cd ${WRKSRC}/lib && ${MAKE}
	cd ${WRKSRC}/include && ${MAKE}
	cd ${WRKSRC}/backends && ${MAKE} shlock

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/backends/shlock ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/doc/man/shlock.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1