1999-04-10 16:28:42 -04:00
|
|
|
# New ports collection makefile for: img
|
|
|
|
# Date Created: 20 February 1999
|
|
|
|
# Whom: Glenn Johnson
|
|
|
|
#
|
1999-08-25 02:16:32 -04:00
|
|
|
# $FreeBSD$
|
1999-04-10 16:28:42 -04:00
|
|
|
#
|
|
|
|
|
2000-04-14 06:48:02 -04:00
|
|
|
PORTNAME= libimg
|
2001-02-12 16:46:33 -05:00
|
|
|
PORTVERSION= 1.2.4
|
|
|
|
CATEGORIES= graphics tk83
|
2002-06-03 21:59:53 -04:00
|
|
|
MASTER_SITES= http://www.neosoft.com/tcl/ftparchive/sorted/packages-8.0/graphics/Img/1.2/
|
2000-04-14 06:48:02 -04:00
|
|
|
DISTNAME= img${PORTVERSION}
|
1999-04-10 16:28:42 -04:00
|
|
|
|
1999-11-25 16:33:34 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1999-04-10 16:28:42 -04:00
|
|
|
|
2001-02-12 16:46:33 -05:00
|
|
|
LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 \
|
2001-09-10 22:22:51 -04:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
1999-04-10 16:28:42 -04:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
1999-09-07 06:45:31 -04:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
1999-04-10 16:28:42 -04:00
|
|
|
|
2001-02-12 16:46:33 -05:00
|
|
|
WRKSRC= ${WRKDIR}/img${PORTVERSION}
|
1999-04-10 16:28:42 -04:00
|
|
|
|
2001-02-12 16:46:33 -05:00
|
|
|
# We don't need the bundled libraries at all, except for a few headers
|
|
|
|
# from libtiff, see comment in files/Makefile.bsd:
|
|
|
|
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude '*/libz/*' \
|
|
|
|
--exclude '*/compat/*' --exclude '*/libtiff/*.c' \
|
|
|
|
--exclude '*/libjpeg/*' --exclude '*/libpng/*'
|
|
|
|
|
|
|
|
MAKEFILE= ${FILESDIR}/Makefile.bsd
|
|
|
|
|
|
|
|
MAKE_ARGS= PORTVERSION="${PORTVERSION}" LOCALBASE="${LOCALBASE}" \
|
|
|
|
MKDIR="${MKDIR}" INSTALL_DATA="${INSTALL_DATA}"
|
1999-04-10 16:28:42 -04:00
|
|
|
|
2000-06-16 17:52:40 -04:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-04-10 16:28:42 -04:00
|
|
|
|
2001-02-12 16:46:33 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-04-10 16:28:42 -04:00
|
|
|
post-install:
|
2001-02-12 16:46:33 -05:00
|
|
|
${MKDIR} ${LOCALBASE}/share/doc/Img1.2
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${LOCALBASE}/share/doc/Img1.2
|
|
|
|
.endif
|
1999-04-10 16:28:42 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2001-02-12 16:46:33 -05:00
|
|
|
|
2001-05-01 05:55:09 -04:00
|
|
|
PLIST_SUBP!= ${SETENV} TCL_VER=${TCL_VER} ${MAKE} -f ${MAKEFILE} environ
|
2001-02-12 16:46:33 -05:00
|
|
|
PLIST_SUB+= ${PLIST_SUBP}
|