diff options
Diffstat (limited to 'print/pdf-renderer/Makefile')
-rw-r--r-- | print/pdf-renderer/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/print/pdf-renderer/Makefile b/print/pdf-renderer/Makefile index 08805ee9b0b8..eb5e43fa1d4a 100644 --- a/print/pdf-renderer/Makefile +++ b/print/pdf-renderer/Makefile @@ -13,7 +13,7 @@ COMMENT= 100% Java PDF renderer and viewer LICENSE= LGPL21 -USES= zip +USES= dos2unix zip NO_WRKSUBDIR= yes USE_JAVA= yes JAVA_VERSION= 1.6+ @@ -26,6 +26,7 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar PORTDOCS= * OPTIONS_DEFINE= DOCS +DOS2UNIX_FILES= swinglabs-build-impl.xml .include <bsd.port.options.mk> @@ -33,6 +34,12 @@ OPTIONS_DEFINE= DOCS ALL_TARGET+= javadoc .endif +.include <bsd.port.pre.mk> + +.if ${JAVA_PORT_VERSION:M1.8.*} +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-swinglabs-build-impl.xml +.endif + do-install: @${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..." @${INSTALL_DATA} ${WRKSRC}/dist/PDFRenderer.jar \ @@ -46,4 +53,4 @@ do-install: @${ECHO_MSG} " [DONE]" .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |