mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
3262cce303
mv -> ${MV} rm -> ${RM} tr -> ${TR}
43 lines
872 B
Makefile
43 lines
872 B
Makefile
# New ports collection makefile for: pgperl
|
|
# Version required: 2.06
|
|
# Date created: 22 December 1996
|
|
# Whom: jmz
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= PGPLOT-2.08
|
|
PKGNAME= pgperl-2.08
|
|
CATEGORIES= graphics perl5
|
|
MASTER_SITES= ftp://ftp.ast.cam.ac.uk/pgperl/
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
|
|
|
|
USE_PERL5= yes
|
|
ALL_TARGET= dynamic
|
|
SCRIPTS_ENV= PERL=${PERL}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
MAN3= ExtUtils::F77.3 PGPLOT.3
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
.if ${OSVERSION} >= 400005
|
|
F2CLIB= -lg2c
|
|
.else
|
|
F2CLIB= -lf2c
|
|
.endif
|
|
|
|
post-patch:
|
|
(cd ${WRKSRC}/ExtUtils; ${MV} -f F77.pm F77.pm~; ${SED} -e \
|
|
's/@F2CLIB@/${F2CLIB}/g' F77.pm~ > F77.pm)
|
|
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/share/doc/pgperl
|
|
@(cd ${WRKSRC}; ${INSTALL_DATA} LICENSE test* \
|
|
${PREFIX}/share/doc/pgperl)
|
|
|
|
.include <bsd.port.post.mk>
|