freebsd-ports/graphics/springgraph/Makefile
Martin Wilke 1e48ead47e - Respect DESTDIR for all my ports
Reviewed by:	gabor
Approved by:	krion (mentor)
2006-08-07 07:58:28 +00:00

35 lines
773 B
Makefile

# ex:ts=8
# Ports collection makefile for: springgraph
# Date created: Aug 8, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= springgraph
PORTVERSION= 0.88
CATEGORIES= graphics
MASTER_SITES= http://www.chaosreigns.com/code/springgraph/dl/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .pl
MAINTAINER= miwi@FreeBSD.org
COMMENT= Render graph described in a .dot file
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
PLIST_FILES= bin/springgraph
USE_PERL5= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKDIR}
NO_WRKSUBDIR= yes
NO_BUILD= yes
post-patch:
@${PERL} -pi -e "s|/usr/bin/perl|${PERL}|g" ${WRKSRC}/springgraph.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/springgraph.pl ${TARGETDIR}/bin/springgraph
.include <bsd.port.mk>