aboutsummaryrefslogtreecommitdiffstats
path: root/misc/shc/Makefile
blob: b550d700804267e79bcc358cae8f69807ae63ec0 (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
# Created by: 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

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Generic script compiler

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/Copying

USES=       tar:tgz

PLIST_FILES=    bin/shc man/man1/shc.1.gz

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

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

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

.include <bsd.port.mk>