aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2015-09-04 15:35:05 +0800
committerdanfe <danfe@FreeBSD.org>2015-09-04 15:35:05 +0800
commitc8f82671c4dbcfcc79a6890d5633cb341dbbc8da (patch)
tree2b15d5c036a3a3a3c9190bc7ec60a7a3cfe3a86d /converters
parent955db241fa6ac2ef10de41186a9e5e045f8c6e7a (diff)
downloadfreebsd-ports-gnome-c8f82671c4dbcfcc79a6890d5633cb341dbbc8da.tar.gz
freebsd-ports-gnome-c8f82671c4dbcfcc79a6890d5633cb341dbbc8da.tar.zst
freebsd-ports-gnome-c8f82671c4dbcfcc79a6890d5633cb341dbbc8da.zip
- Remove "BROKEN on powerpc" statement: the port builds and links fine
- Fix LICENSE_FILE knob, reindent USES/USE_* block, kill EOL whitespace
Diffstat (limited to 'converters')
-rw-r--r--converters/wkhtmltopdf/Makefile27
1 files changed, 10 insertions, 17 deletions
diff --git a/converters/wkhtmltopdf/Makefile b/converters/wkhtmltopdf/Makefile
index ea91d2f77963..9a4d9c27d301 100644
--- a/converters/wkhtmltopdf/Makefile
+++ b/converters/wkhtmltopdf/Makefile
@@ -12,21 +12,20 @@ MAINTAINER= mm@FreeBSD.org
COMMENT= Convert HTML (or live webpages) to PDF or image
LICENSE= LGPL3
-LICENSE_FILE_LGPL3= ${INSTALL_WRKSRC}/COPYING
+LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS+= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
+LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
libfreetype.so:${PORTSDIR}/print/freetype2 \
libpng.so:${PORTSDIR}/graphics/png
-
-USES= iconv jpeg gmake perl5 pkgconfig tar:bzip2
-USE_XORG= x11 xext xrender
-USE_PERL5= build
-USE_LDCONFIG= yes
-HAS_CONFIGURE= yes
+USES= gmake iconv jpeg perl5 pkgconfig tar:bzip2
+USE_XORG= x11 xext xrender
+USE_PERL5= build
+USE_LDCONFIG= yes
+HAS_CONFIGURE= yes
WRKSRC= ${WRKDIR}/wkhtmltox-${PORTVERSION}
-PATCH_WRKSRC= ${WRKSRC}/qt
+PATCH_WRKSRC= ${WRKSRC}/qt
CONFIGURE_WRKSRC= ${WRKSRC}/build/qt
BUILD_WRKSRC= ${WRKSRC}/build/qt
INSTALL_WRKSRC= ${WRKSRC}/build/app
@@ -49,13 +48,7 @@ CONFIGURE_ARGS= -prefix ${WRKSRC}/build/qt \
-no-audio-backend -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx \
-no-neon
-MAKE_ARGS+= INSTALL_ROOT="${STAGEDIR}${PREFIX}"
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "powerpc"
-BROKEN= Does not link on powerpc
-.endif
+MAKE_ARGS= INSTALL_ROOT="${STAGEDIR}${PREFIX}"
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
@@ -77,4 +70,4 @@ post-build:
${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g} \
${ALL_TARGET}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>