5271da855f
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
28 lines
505 B
Makefile
28 lines
505 B
Makefile
# Created by: Andrey Zakhvatov
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bogged
|
|
PORTVERSION= 1.0.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= SUNSITE/games/strategy
|
|
EXTRACT_SUFX= .gz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Word game for X Window System
|
|
|
|
EXTRACT_CMD= ${GZIP_CMD}
|
|
EXTRACT_BEFORE_ARGS= -dc
|
|
EXTRACT_AFTER_ARGS= > ${WRKDIR}/${PORTNAME}
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
|
|
USE_TK_WRAPPER= yes
|
|
|
|
PLIST_FILES= bin/bogged
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|