freebsd-ports/security/opieprint/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

31 lines
661 B
Makefile

# Created by: mharo@FreeBSD.org
# $FreeBSD$
PORTNAME= opieprint
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.inner.net/pub/opie/contrib/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .gz
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Output postscript with 100 OPIE passwords credit card sized
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_PERL5_RUN= yes
PLIST_FILES= bin/opieprint
EXTRACT_CMD= ${GZCAT}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= > ${WRKSRC}/${PORTNAME}
post-patch:
${REINPLACE_CMD} -e 's,/usr/local/bin/perl,${PERL},' ${WRKSRC}/opieprint
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/opieprint ${PREFIX}/bin
.include <bsd.port.mk>