1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/devel/gzstream/Makefile
Dmitry Marakasov 375aa7879e - Update MASTER_SITES
- Pass maintainership to submitter
- Add LICENSE

PR:		188034
Submitted by:	"A.J. van Werven" <freebsd@skysmurf.nl>
2014-04-23 01:09:58 +00:00

33 lines
882 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= gzstream
DISTVERSION= 1.5
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= CENKES \
http://www.skysmurf.nl/comp/FreeBSD/distfiles/
MAINTAINER= freebsd@skysmurf.nl
COMMENT= Provides zlib functionality in an iostream
LICENSE= LGPL21
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.0 \
include/${PORTNAME}.h
ALL_TARGET= default
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}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/
${LN} -sf lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.0
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${STAGEDIR}${PREFIX}/include/
.include <bsd.port.mk>