summaryrefslogtreecommitdiff
path: root/sysutils/shlock/Makefile
blob: 45aecb810353771c04ad5b8087b487f4f01c5ea1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $FreeBSD$

PORTNAME=	shlock
PORTVERSION=	2.5.3
CATEGORIES=	sysutils
MASTER_SITES=	ISC/inn
DISTFILES=	inn-${PORTVERSION}${EXTRACT_SUFX} \
		inn-${PORTVERSION}${EXTRACT_SUFX}.asc
EXTRACT_ONLY=	inn-${PORTVERSION}${EXTRACT_SUFX}

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

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

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	ac_cv_path_PERL="${TRUE}"
ALL_TARGET=	all-lib

MAN1=		${PORTNAME}.1
PLIST_FILES=	bin/${PORTNAME}

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

post-build:
	@(cd ${WRKSRC}/backends && ${SETENV} ${MAKE_ENV} ${MAKE} \
		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${PORTNAME})

do-install:
	(cd ${WRKSRC}/backends \
		&& ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
	(cd ${WRKSRC}/doc/man \
		&& ${INSTALL_MAN} ${PORTNAME}.1 ${MANPREFIX}/man/man1)

.include <bsd.port.mk>