devel/gzstream: create a proper shared library

Bump portrevision of dependent ports
This commit is contained in:
Baptiste Daroussin 2015-05-13 23:15:43 +00:00
parent 2ea807b888
commit 613b7f1a79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386275
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= gzstream
DISTVERSION= 1.5
PORTREVISION= 1
PORTREVISION=
CATEGORIES= devel
MASTER_SITES= http://www.skysmurf.nl/comp/FreeBSD/distfiles/
@ -21,11 +21,11 @@ CFLAGS+= -fPIC -I.
post-patch:
@${REINPLACE_CMD} -e 's/=/?=/;s/\.a/.so/g;s/CPPFL/CXXFL/g;\
s/{AR}/{CC} $${CFLAGS} -lz -shared -o/' ${WRKSRC}/${MAKEFILE}
s/{AR}/{CC} $${CFLAGS} -lz -shared -Wl,-soname=lib${PORTNAME}.so.0 -o/' ${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/
${LN} -sf lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.0
${INSTALL_PROGRAM} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.0
${LN} -sf lib${PORTNAME}.so.0 ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${STAGEDIR}${PREFIX}/include/
.include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
PORTNAME= libgfx
DISTVERSION= 1.1.0
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= graphics
MASTER_SITES= http://mgarland.org/files/dist/