aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/untar/Makefile
blob: 43348800e486297436f0be186701359a93c860d6 (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: KIMURA Shigekazu <rikimura@a011.broada.jp>
# $FreeBSD$

PORTNAME=   untar
PORTVERSION=    1.4
PORTREVISION=   1
CATEGORIES= archivers
MASTER_SITES=   ftp://ftp.cs.pdx.edu/pub/elvis/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .c
EXTRACT_ONLY=

MAINTAINER= c.petrik.sosa@gmail.com
COMMENT=    Lists/Extracts files from a "*.tgz" or "*.gz" archive

MAKEFILE=   /usr/share/mk/bsd.prog.mk
NO_WRKSUBDIR=   yes
PLIST_FILES=    bin/untar

MAKE_ENV+=  PROG=untar NO_MAN=yes
MAKE_ARGS+= CFLAGS="${CFLAGS} -D_POSIX_SOURCE" \
        LDFLAGS="${LDFLAGS} -static"

pre-patch:
    @${CP} ${DISTDIR}/untar.c ${WRKSRC}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.mk>