Convert to ELF.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Date created: 21 December 1996
|
||||
# Whom: jmz
|
||||
#
|
||||
# $Id: Makefile,v 1.3 1997/07/17 15:12:44 max Exp $
|
||||
# $Id: Makefile,v 1.4 1997/08/15 13:36:01 jmz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= pgplot5.2
|
||||
@@ -16,6 +16,15 @@ MAINTAINER= jmz@FreeBSD.org
|
||||
WRKSRC= ${WRKDIR}/pgplot
|
||||
|
||||
post-install:
|
||||
${LDCONFIG} -m ${PREFIX}/lib
|
||||
.for f in libcpgplot.so libpgplot.so
|
||||
${LN} -sf $f.${VERSION} ${PREFIX}/lib/$f
|
||||
.endfor
|
||||
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
.if ${PORTOBJFORMAT} == "elf"
|
||||
VERSION= 5
|
||||
.else
|
||||
VERSION= 5.2
|
||||
.endif
|
||||
|
||||
@@ -6,7 +6,7 @@ all:
|
||||
make -f Makefile.doc
|
||||
|
||||
install:
|
||||
install -c *.a *.so.5.2 ${PREFIX}/lib
|
||||
install -c *.a *.so.5* ${PREFIX}/lib
|
||||
mkdir -p ${PREFIX}/share/pgplot
|
||||
install -c grfont.dat rgb.txt pgplot.doc pgplot.html pgplot-routines.tex cpg/cpgplot.doc ${PREFIX}/share/pgplot
|
||||
install -c cpgplot.h ${PREFIX}/include
|
||||
|
||||
@@ -8,10 +8,10 @@ $myname = $0;
|
||||
$count = 0;
|
||||
|
||||
while ($ARGV[0] =~ /^-/) {
|
||||
$opt . = " $ARGV[0]";
|
||||
$opt .= " $ARGV[0]";
|
||||
if ($ARGV[0] eq "-o") {
|
||||
shift;
|
||||
$opt . = " $ARGV[0]";
|
||||
$opt .= " $ARGV[0]";
|
||||
}
|
||||
shift;
|
||||
}
|
||||
|
||||
@@ -2,11 +2,13 @@ bin/pgxwin_server
|
||||
bin/pgdisp
|
||||
include/cpgplot.h
|
||||
lib/libcpgplot.a
|
||||
lib/libcpgplot.so
|
||||
lib/libcpgplot.so.5.2
|
||||
lib/libpgplot.a
|
||||
lib/libpgplot.so.5.2
|
||||
@exec /sbin/ldconfig -m %D/lib
|
||||
@unexec /sbin/ldconfig -R
|
||||
lib/libpgplot.so
|
||||
lib/libpgplot.so.5.2
|
||||
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
|
||||
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
|
||||
share/pgplot/Makefile.demo
|
||||
share/pgplot/cpgdemo.c
|
||||
share/pgplot/cpgplot.doc
|
||||
@@ -33,3 +35,4 @@ share/pgplot/pgdemo14.f
|
||||
share/pgplot/pgdemo15.f
|
||||
share/pgplot/pgdemo16.f
|
||||
share/pgplot/pgdemo17.f
|
||||
@dirrm share/pgplot
|
||||
|
||||
Reference in New Issue
Block a user