aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xpaint/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xpaint/Makefile')
-rw-r--r--graphics/xpaint/Makefile25
1 files changed, 12 insertions, 13 deletions
diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile
index 3e2a6807d5bb..8e66d7193265 100644
--- a/graphics/xpaint/Makefile
+++ b/graphics/xpaint/Makefile
@@ -1,15 +1,10 @@
-# New ports collection makefile for: xpaint
-# Date created: 2 Jan 1995
-# Whom: swallace
-#
+# Created by: swallace
# $FreeBSD$
-#
PORTNAME= xpaint
-PORTVERSION= 2.9.9
-PORTREVISION= 1
+PORTVERSION= 2.9.9.3
CATEGORIES= graphics
-MASTER_SITES= SF/sf-${PORTNAME}/sf-${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/sf-${PORTNAME}/sf-${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
MAINTAINER= johans@FreeBSD.org
COMMENT= A simple paint program
@@ -17,13 +12,14 @@ COMMENT= A simple paint program
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
jpeg:${PORTSDIR}/graphics/jpeg \
openjpeg:${PORTSDIR}/graphics/openjpeg \
- tiff.4:${PORTSDIR}/graphics/tiff \
- freetype.9:${PORTSDIR}/print/freetype2 \
- jbig.1:${PORTSDIR}/graphics/jbigkit \
- Xaw3dxft.7:${PORTSDIR}/x11-toolkits/libxaw3dxft
+ tiff:${PORTSDIR}/graphics/tiff \
+ freetype:${PORTSDIR}/print/freetype2 \
+ jbig:${PORTSDIR}/graphics/jbigkit \
+ Xaw3dxft:${PORTSDIR}/x11-toolkits/libxaw3dxft
USE_BZIP2= yes
USE_XORG= xft xmu xpm
+USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
@@ -33,14 +29,17 @@ MAKE_ENV+= RM="${RM} -f"
MAN1= xpaint.1 pdfconcat.1 imgmerge.1
post-extract:
- @${LN} -sf ${LOCALBASE}/include/X11/Xaw3dxft ${WRKSRC}/xaw_incdir
@${RM} -f ${WRKSRC}/XPaint.ad
post-patch:
@${REINPLACE_CMD} -e 's/-ldl //' \
${WRKSRC}/configure ${WRKSRC}/rw/configure
@${REINPLACE_CMD} -Ee 's:/etc(/X11/app-defaults):${PREFIX}/lib\1:' \
+ -e '/xaw_incdir/s,/usr/include,${LOCALBASE}/include,' \
${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e '/^LIBTOOL/d' \
+ -e '/^install-exec-am:/s/install-libLTLIBRARIES//' \
+ ${WRKSRC}/rw/Makefile.in
@${REINPLACE_CMD} -e '/if (!image)/s/return;/return -1;/' \
${WRKSRC}/rw/readWriteTGA.c