freebsd-ports/devel/gzstream/Makefile
Andrew Pantyukhin e654931d4b - Convert gzstream, libgfx[1] and qslim to shlibs
- Unbundle libgfx from qslim
- Chase the conversion in vis5d+

Suggested by:	thierry [1]
2008-05-03 07:45:22 +00:00

34 lines
929 B
Makefile

# New ports collection makefile for: gzstream
# Date created: 28 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gzstream
DISTVERSION= 1.5
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= CENKES
# http://www.cs.unc.edu/Research/compgeom/gzstream/gzstream.tgz
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Provides zlib functionality in an iostream
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 ${PREFIX}/lib/
@${LN} -sf lib${PORTNAME}.so ${PREFIX}/lib/lib${PORTNAME}.so.0
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${PREFIX}/include/
.include <bsd.port.mk>