1996-12-23 12:37:41 -05:00
|
|
|
# New ports collection makefile for: pgperl
|
1997-08-15 11:02:18 -04:00
|
|
|
# Version required: 2.06
|
1996-12-23 12:37:41 -05:00
|
|
|
# Date created: 22 December 1996
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1999-08-25 02:16:32 -04:00
|
|
|
# $FreeBSD$
|
1996-12-23 12:37:41 -05:00
|
|
|
#
|
|
|
|
|
1998-01-26 21:25:32 -05:00
|
|
|
DISTNAME= PGPLOT-2.08
|
|
|
|
PKGNAME= pgperl-2.08
|
1997-04-20 09:53:29 -04:00
|
|
|
CATEGORIES= graphics perl5
|
1997-08-15 11:02:18 -04:00
|
|
|
MASTER_SITES= ftp://ftp.ast.cam.ac.uk/pgperl/
|
1996-12-23 12:37:41 -05:00
|
|
|
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
|
1998-10-04 23:17:11 -04:00
|
|
|
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
|
1996-12-24 02:47:28 -05:00
|
|
|
|
1997-07-18 01:04:20 -04:00
|
|
|
USE_PERL5= yes
|
1996-12-24 02:47:28 -05:00
|
|
|
ALL_TARGET= dynamic
|
1998-12-04 22:05:33 -05:00
|
|
|
SCRIPTS_ENV= PERL=${PERL}
|
1996-12-23 12:37:41 -05:00
|
|
|
|
1998-11-11 00:37:39 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-08-23 09:56:19 -04:00
|
|
|
MAN3= ExtUtils::F77.3 PGPLOT.3
|
|
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
|
1999-07-04 17:32:01 -04:00
|
|
|
.if ${OSVERSION} >= 400005
|
|
|
|
F2CLIB= -lg2c
|
|
|
|
.else
|
|
|
|
F2CLIB= -lf2c
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
1999-08-27 22:42:41 -04:00
|
|
|
(cd ${WRKSRC}/ExtUtils; ${MV} -f F77.pm F77.pm~; ${SED} -e \
|
1999-07-04 17:32:01 -04:00
|
|
|
's/@F2CLIB@/${F2CLIB}/g' F77.pm~ > F77.pm)
|
|
|
|
|
1996-12-23 12:37:41 -05:00
|
|
|
post-install:
|
1996-12-24 02:47:28 -05:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/pgperl
|
1997-08-15 11:02:18 -04:00
|
|
|
@(cd ${WRKSRC}; ${INSTALL_DATA} LICENSE test* \
|
1996-12-24 02:47:28 -05:00
|
|
|
${PREFIX}/share/doc/pgperl)
|
1996-12-23 12:37:41 -05:00
|
|
|
|
1998-11-11 00:37:39 -05:00
|
|
|
.include <bsd.port.post.mk>
|