aboutsummaryrefslogtreecommitdiffstats
path: root/misc/shc/Makefile
blob: 55dc2a77fad4086aba4163dfb6db8fb7ee7ccb38 (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
# Ports collection makefile for:    shc
# Date created:             Feb 14, 2001
# Whom:                 Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   shc
PORTVERSION=    3.8.9
CATEGORIES= misc
MASTER_SITES=   http://www.datsi.fi.upm.es/~frosal/sources/ \
        CRITICAL
EXTRACT_SUFX=   .tgz

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    A generic script compiler

MAKE_JOBS_SAFE= yes

MAN1=       shc.1
PLIST_FILES=    bin/shc

post-extract:
    @${RM} ${WRKSRC}/shc

do-build:
    ${CC} ${CFLAGS} -o ${WRKSRC}/shc ${WRKSRC}/${PORTNAME}-${PORTVERSION}.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/shc ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/shc.1 ${MAN1PREFIX}/man/man1

.include <bsd.port.mk>