aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/shlock/Makefile
blob: 39c04aed2e8172af6e5e6b894a7be315798dfdf0 (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
# $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
MAKE_JOBS_SAFE= yes

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>