aboutsummaryrefslogtreecommitdiff
path: root/graphics/xpaint/Makefile
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2013-12-29 15:06:27 +0000
committerJohan van Selst <johans@FreeBSD.org>2013-12-29 15:06:27 +0000
commitd9a4dcfff755682c8cc3f3cfccf602a81874f5c0 (patch)
treef32129011d67df58815f9fe495d61b1e674952ed /graphics/xpaint/Makefile
parentd639f485d16fe9159b0f304320e32314278837ce (diff)
downloadports-d9a4dcfff755682c8cc3f3cfccf602a81874f5c0.tar.gz
ports-d9a4dcfff755682c8cc3f3cfccf602a81874f5c0.zip
Notes
Diffstat (limited to 'graphics/xpaint/Makefile')
-rw-r--r--graphics/xpaint/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile
index 32f22b62dc5a..0740896b515f 100644
--- a/graphics/xpaint/Makefile
+++ b/graphics/xpaint/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xpaint
PORTVERSION= 2.9.9.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= SF/sf-${PORTNAME}/sf-${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
@@ -19,27 +19,26 @@ LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libfreetype.so:${PORTSDIR}/print/freetype2 \
libjbig.so:${PORTSDIR}/graphics/jbigkit \
libXaw3dxft.so:${PORTSDIR}/x11-toolkits/libxaw3dxft
-RUN_DEPENDS= psselect:${PORTSDIR}/print/psutils
+RUN_DEPENDS= psselect:${PORTSDIR}/print/psutils \
+ bash:${PORTSDIR}/shells/bash
USE_BZIP2= yes
USE_XORG= xft xmu xpm
USE_AUTOTOOLS= libtool
USE_GHOSTSCRIPT_RUN=yes
GNU_CONFIGURE= yes
+USES= shebangfix
+SHEBANG_FILES= share/bin/imgmerge share/bin/xpaint_ocr
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV+= RM="${RM} -f"
-MAN1= xpaint.1 pdfconcat.1 imgmerge.1
-
-NO_STAGE= yes
post-extract:
@${RM} -f ${WRKSRC}/XPaint.ad
post-patch:
@${REINPLACE_CMD} -e 's/-ldl //' \
- -e 's|freetype/||g' \
${WRKSRC}/configure ${WRKSRC}/rw/configure
@${REINPLACE_CMD} -e '/^LIBTOOL/d' \
-e '/^install-exec-am:/s/install-libLTLIBRARIES//' \