forked from Lainports/freebsd-ports
updated by switching it to use GraphicsMagick instead. This removes the need for "private" headers and promises a less eventful future. Don't install mimetype-descriptions, which conflict with those installed by kdelibs and otherwise improve plist. Build in parallel using our own make (no evident need for gmake). The port may be retired soon, as no new development happened on it since early 2005. Approved by: portmgr (linimon)
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# New ports collection makefile for: pixieplus
|
|
# Date created: 3 March 2003
|
|
# Whom: Arjan van Leeuwen <avleeuwen@piwebs.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pixieplus
|
|
PORTVERSION= 0.5.4.1
|
|
PORTREVISION= 9
|
|
CATEGORIES= graphics kde
|
|
MASTER_SITES= http://people.fruitsalad.org/avleeuwen/distfiles/${PORTNAME}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A free, fast, and feature packed image browser and viewer for KDE
|
|
|
|
LIB_DEPENDS= GraphicsMagick:${PORTSDIR}/graphics/GraphicsMagick \
|
|
ungif:${PORTSDIR}/graphics/libungif
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_KDELIBS_VER=3
|
|
INSTALLS_SHLIB= yes
|
|
USE_BZIP2= yes
|
|
ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
# Massaging to use GraphicsMagick
|
|
${REINPLACE_CMD} -e \
|
|
"s,INCLUDES =.*,INCLUDES=`${LOCALBASE}/bin/GraphicsMagick-config \
|
|
--cppflags` -I${LOCALBASE}/include," -e \
|
|
"s|-lMagick -ltiff|`${LOCALBASE}/bin/GraphicsMagick-config \
|
|
--libs`|" ${WRKSRC}/app/Makefile.in
|
|
${REINPLACE_CMD} -e 's,<api.h>,<magick/api.h>,' \
|
|
${WRKSRC}/app/*.h ${WRKSRC}/app/*.cpp
|
|
${REINPLACE_CMD} -e s,Magick-config,GraphicsMagick-config,g -e s,6.0.0,1.1.10, \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.post.mk>
|