mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
89a94bdab8
PR: ports/155470 PR: ports/155471 PR: ports/155472 Submitted by: Shigekazu KIMURA <rikimura@a011.broada.jp>
35 lines
764 B
Makefile
35 lines
764 B
Makefile
# New ports collection makefile for: untar
|
|
# Date created: 14 Jul 2002
|
|
# Whom: 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= ports@FreeBSD.org
|
|
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>
|