2000-03-21 16:45:59 +01:00
|
|
|
# New ports collection makefile for: xpaint
|
|
|
|
# Date created: 2 Jan 1995
|
|
|
|
# Whom: swallace
|
1995-01-02 23:55:12 +01:00
|
|
|
#
|
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
|
2012-02-19 10:40:21 +01:00
|
|
|
PORTVERSION= 2.9.9
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 1
|
1998-11-21 08:27:41 +01:00
|
|
|
CATEGORIES= graphics
|
2012-02-19 10:40:21 +01:00
|
|
|
MASTER_SITES= SF/sf-${PORTNAME}/sf-${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
1995-04-09 09:09:55 +02:00
|
|
|
|
2010-09-05 00:09:30 +02:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= A simple paint program
|
1997-02-05 08:34:36 +01:00
|
|
|
|
2012-06-01 07:26:28 +02:00
|
|
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
|
2010-09-05 00:09:30 +02:00
|
|
|
jpeg:${PORTSDIR}/graphics/jpeg \
|
|
|
|
openjpeg:${PORTSDIR}/graphics/openjpeg \
|
2012-02-19 10:40:21 +01:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
|
|
|
jbig.1:${PORTSDIR}/graphics/jbigkit \
|
|
|
|
Xaw3dxft.7:${PORTSDIR}/x11-toolkits/libxaw3dxft
|
1995-04-09 09:09:55 +02:00
|
|
|
|
2002-11-20 13:53:58 +01:00
|
|
|
USE_BZIP2= yes
|
2010-07-16 05:31:49 +02:00
|
|
|
USE_XORG= xft xmu xpm
|
2012-02-19 10:40:21 +01: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
|
|
|
|
2010-07-16 05:31:49 +02:00
|
|
|
post-extract:
|
2012-02-19 10:40:21 +01:00
|
|
|
@${LN} -sf ${LOCALBASE}/include/X11/Xaw3dxft ${WRKSRC}/xaw_incdir
|
|
|
|
@${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
|
|
|
|
@${REINPLACE_CMD} -Ee 's:/etc(/X11/app-defaults):${PREFIX}/lib\1:' \
|
|
|
|
${WRKSRC}/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>
|