1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Convert to ELF.

This commit is contained in:
Steve Price 1998-10-05 02:52:32 +00:00
parent 8b4c16d521
commit 043536e7ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13641
2 changed files with 13 additions and 5 deletions

View File

@ -3,7 +3,7 @@
# Date created: 4 May 1998
# Whom: Andrey Zakhvatov
#
# $Id: Makefile,v 1.9 1998/09/19 01:27:52 hoek Exp $
# $Id: Makefile,v 1.10 1998/09/19 01:36:18 hoek Exp $
#
DISTNAME= EZWGL-1.39
@ -28,7 +28,8 @@ pre-install:
do-install:
@ ${INSTALL_DATA} ${WRKSRC}/include/EZ.h ${PREFIX}/include
@ ${INSTALL_DATA} ${WRKSRC}/lib/libEZ.a ${PREFIX}/lib
@ ${INSTALL_DATA} ${WRKSRC}/lib/libEZ.so.1.3 ${PREFIX}/lib
@ ${INSTALL_DATA} ${WRKSRC}/lib/libEZ.so.${VERSION} ${PREFIX}/lib
@ ${LN} -sf libEZ.so.${VERSION} ${PREFIX}/lib/libEZ.so
.for file in ${MAN3}
@ ${INSTALL_MAN} ${WRKSRC}/man3/${file} ${PREFIX}/man/man3
.endfor
@ -46,6 +47,12 @@ do-install:
.endif
post-install:
${LDCONFIG} -m ${PREFIX}/lib
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
.if ${PORTOBJFORMAT} == "elf"
VERSION= 1
.else
VERSION= 1.3
.endif

View File

@ -1,8 +1,9 @@
include/EZ.h
lib/libEZ.a
lib/libEZ.so
lib/libEZ.so.1.3
@exec /sbin/ldconfig -m %B
@unexec /sbin/ldconfig -R
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/doc/EZ/LICENSE
share/doc/EZ/html/index.html
share/doc/EZ/html/welcome.html