2013-07-31 06:37:25 +02:00
|
|
|
# Created by: Steven Wallace <swallace@FreeBSD.org>
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1995-01-02 23:55:12 +01:00
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= xpaint
|
2013-02-09 13:53:45 +01:00
|
|
|
PORTVERSION= 2.9.9.4
|
2013-09-23 06:39:38 +02:00
|
|
|
PORTREVISION= 2
|
1998-11-21 08:27:41 +01:00
|
|
|
CATEGORIES= graphics
|
2013-01-26 17:30:12 +01:00
|
|
|
MASTER_SITES= SF/sf-${PORTNAME}/sf-${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
|
1995-04-09 09:09:55 +02:00
|
|
|
|
2010-09-05 00:09:30 +02:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2013-07-31 06:37:25 +02:00
|
|
|
COMMENT= Simple paint program
|
1997-02-05 08:34:36 +01:00
|
|
|
|
2013-07-31 11:18:07 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2013-09-23 06:39:38 +02:00
|
|
|
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
|
|
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
|
|
libopenjpeg.so:${PORTSDIR}/graphics/openjpeg \
|
|
|
|
libtiff.so:${PORTSDIR}/graphics/tiff \
|
|
|
|
libfreetype.so:${PORTSDIR}/print/freetype2 \
|
|
|
|
libjbig.so:${PORTSDIR}/graphics/jbigkit \
|
|
|
|
libXaw3dxft.so:${PORTSDIR}/x11-toolkits/libxaw3dxft
|
2013-05-15 21:43:11 +02:00
|
|
|
RUN_DEPENDS= psselect:${PORTSDIR}/print/psutils
|
|
|
|
|
2002-11-20 13:53:58 +01:00
|
|
|
USE_BZIP2= yes
|
2010-07-16 05:31:49 +02:00
|
|
|
USE_XORG= xft xmu xpm
|
2013-01-26 17:30:12 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2013-05-15 21:43:11 +02:00
|
|
|
USE_GHOSTSCRIPT_RUN=yes
|
2013-09-23 06:39:38 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1995-01-02 23:55:12 +01:00
|
|
|
|
2012-02-19 10:40:21 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
MAKE_ENV+= RM="${RM} -f"
|
|
|
|
|
|
|
|
MAN1= xpaint.1 pdfconcat.1 imgmerge.1
|
2002-11-20 13:53:58 +01:00
|
|
|
|
2013-09-20 20:35:44 +02:00
|
|
|
NO_STAGE= yes
|
2010-07-16 05:31:49 +02:00
|
|
|
post-extract:
|
2012-02-19 10:40:21 +01:00
|
|
|
@${RM} -f ${WRKSRC}/XPaint.ad
|
2010-07-16 05:31:49 +02:00
|
|
|
|
|
|
|
post-patch:
|
2012-02-19 10:40:21 +01:00
|
|
|
@${REINPLACE_CMD} -e 's/-ldl //' \
|
|
|
|
${WRKSRC}/configure ${WRKSRC}/rw/configure
|
2013-01-26 17:30:12 +01:00
|
|
|
@${REINPLACE_CMD} -e '/^LIBTOOL/d' \
|
|
|
|
-e '/^install-exec-am:/s/install-libLTLIBRARIES//' \
|
|
|
|
${WRKSRC}/rw/Makefile.in
|
2011-06-21 21:20:02 +02:00
|
|
|
@${REINPLACE_CMD} -e '/if (!image)/s/return;/return -1;/' \
|
|
|
|
${WRKSRC}/rw/readWriteTGA.c
|
2005-04-03 23:39:28 +02:00
|
|
|
|
1995-01-02 23:55:12 +01:00
|
|
|
.include <bsd.port.mk>
|