aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/shlock/Makefile
blob: 56b8ca0cbc3e806adab9e0dacc5a82c124746168 (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
# $FreeBSD$

PORTNAME=   shlock
PORTVERSION=    2.5.2
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR=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

HAS_CONFIGURE=      yes

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>