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

PLIST_FILES=    bin/${PORTNAME} man/man1/${PORTNAME}.1.gz

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} ${STAGEDIR}${PREFIX}/bin)
    (cd ${WRKSRC}/doc/man \
        && ${INSTALL_MAN} ${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1)

.include <bsd.port.mk>