freebsd-ports/textproc/re_graph/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

36 lines
773 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= re_graph
PORTVERSION= 0.2
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://www.oualline.com/sw/re/
DISTNAME= ${PORTNAME:S/_/-/}_${PORTVERSION:S/.//}
EXTRACT_SUFX= .tar
MAINTAINER= ports@FreeBSD.org
COMMENT= Regular Expression Graphing Program
RUN_DEPENDS= p5-GD>=0:${PORTSDIR}/graphics/p5-GD \
p5-GD-Arrow>=0:${PORTSDIR}/graphics/p5-GD-Arrow
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_PERL5_RUN= yes
PLIST_FILES= bin/re_graph
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/re_graph.pl ${PREFIX}/bin/re_graph
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/re_graph.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/tut* ${DOCSDIR}
.endif
.include <bsd.port.mk>