diff options
-rw-r--r-- | graphics/Cgraph/Makefile | 9 | ||||
-rw-r--r-- | graphics/Cgraph/files/Makefile.lib | 1 | ||||
-rw-r--r-- | graphics/Cgraph/pkg-plist | 6 |
3 files changed, 5 insertions, 11 deletions
diff --git a/graphics/Cgraph/Makefile b/graphics/Cgraph/Makefile index 6926eb72a418..ddbb76c54ad0 100644 --- a/graphics/Cgraph/Makefile +++ b/graphics/Cgraph/Makefile @@ -15,8 +15,6 @@ MAINTAINER= tobez@plab.ku.dk WRKSRC= ${WRKDIR}/Cgraph/source -.include <bsd.port.pre.mk> - post-extract: @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile @@ -33,9 +31,6 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/../examples/loglog/TFopt-lrLog.c ${PREFIX}/share/examples/cgraph @${INSTALL_DATA} ${WRKSRC}/../examples/loglog/TFampspect.dat ${PREFIX}/share/examples/cgraph .endif -.if ${PORTOBJFORMAT} == "aout" - @${LN} -sf libcgraph.so.2.4 ${PREFIX}/lib/libcgraph.so -.endif - @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + @${LDCONFIG} -m ${PREFIX}/lib -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/graphics/Cgraph/files/Makefile.lib b/graphics/Cgraph/files/Makefile.lib index 6d0547251126..2939d228ae00 100644 --- a/graphics/Cgraph/files/Makefile.lib +++ b/graphics/Cgraph/files/Makefile.lib @@ -3,7 +3,6 @@ LIBDIR = ${PREFIX}/lib SHLIB_MAJOR= 2 -SHLIB_MINOR= 4 LIB= cgraph SRCS= bgdash.c bginit.c bgshow.c bgstart.c\ diff --git a/graphics/Cgraph/pkg-plist b/graphics/Cgraph/pkg-plist index 5ea4606a9b3b..4dcb5e35422e 100644 --- a/graphics/Cgraph/pkg-plist +++ b/graphics/Cgraph/pkg-plist @@ -2,9 +2,9 @@ include/cgraph.h lib/libcgraph.a lib/libcgraph_p.a lib/libcgraph.so -lib/libcgraph.so.2.4 -@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B -@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R +lib/libcgraph.so.2 +@exec /sbin/ldconfig -m %B +@unexec /sbin/ldconfig -R share/doc/cgraph/cgraph.ps share/examples/cgraph/CGminimal.c share/examples/cgraph/dashlist.c |