aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/shlock/Makefile
blob: d8b2fb435bce956d7141b6ad504c8b6d01a584d3 (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
37
38
39
40
41
# New ports collection makefile for:    shlock
# Date created:     8 July 2002
# Whom:         dougb
#
# $FreeBSD$
#

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>