freebsd-ports/ports-mgmt/managepkg/Makefile
Baptiste Daroussin 5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00

26 lines
611 B
Makefile

# Created by: Andreas Fehlner <fehlner@gmx.de>
# $FreeBSD$
PORTNAME= managepkg
PORTVERSION= 1.1
CATEGORIES= ports-mgmt
MASTER_SITES= http://www.cul.de/data/\
http://home.arcor.de/fehlner/fbsd_ports/\
http://home.arcor.de/teambushido/fbsd_ports/
EXTRACT_SUFX= .gz
MAINTAINER= fehlner@gmx.de
COMMENT= Script for maintaining ports
# Any ideas for a better comment?
EXTRACT_CMD= ${GZCAT}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= > ${WRKSRC}/${PORTNAME}
WRKSRC= ${WRKDIR}
NO_BUILD= yes
PLIST_FILES= sbin/managepkg
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/
.include <bsd.port.mk>