freebsd-ports/graphics/pgperl/Makefile
Erwin Lansing 50513d5d52 Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.

Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.

PR:             100555
Submitted by:   gabor
Sponsored by:   Google Summer of Code 2006
2006-08-04 12:34:50 +00:00

37 lines
815 B
Makefile

# New ports collection makefile for: pgperl
# Date created: 22 December 1996
# Whom: jmz
#
# $FreeBSD$
#
PORTNAME= pgperl
PORTVERSION= 2.19
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= PGPLOT
DISTNAME= PGPLOT-${PORTVERSION}
MAINTAINER= jmz@FreeBSD.org
COMMENT= A perl5 extension which makes available the pgplot library
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
BUILD_DEPENDS= ${SITE_PERL}/ExtUtils/F77.pm:${PORTSDIR}/lang/p5-F77
MAN3= PGPLOT.3
MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VERSION}
USE_PERL5= yes
SCRIPTS_ENV= PERL=${PERL}
INSTALL_TARGET= pure_install
.include <bsd.port.pre.mk>
.ifndef(NOPORTDOCS)
post-install:
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}; ${INSTALL_DATA} LICENSE test* \
${EXAMPLESDIR})
.endif
.include <bsd.port.post.mk>