diff options
author | antoine <antoine@FreeBSD.org> | 2014-04-25 20:37:28 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-04-25 20:37:28 +0800 |
commit | 5c9555db81428d659edf9d18a5f6136bac96529a (patch) | |
tree | afbe276cd2f04c5f13e663b24a889009f91ccc63 /graphics/cairo-java | |
parent | d6719f8429b30724a8269833405d455f614be4a9 (diff) | |
download | freebsd-ports-gnome-5c9555db81428d659edf9d18a5f6136bac96529a.tar.gz freebsd-ports-gnome-5c9555db81428d659edf9d18a5f6136bac96529a.tar.zst freebsd-ports-gnome-5c9555db81428d659edf9d18a5f6136bac96529a.zip |
Fix packaging with openjdk 6
With hat: portmgr
Diffstat (limited to 'graphics/cairo-java')
-rw-r--r-- | graphics/cairo-java/Makefile | 10 | ||||
-rw-r--r-- | graphics/cairo-java/pkg-plist | 9 |
2 files changed, 14 insertions, 5 deletions
diff --git a/graphics/cairo-java/Makefile b/graphics/cairo-java/Makefile index 6d428f8c0594..9de3304cfec9 100644 --- a/graphics/cairo-java/Makefile +++ b/graphics/cairo-java/Makefile @@ -34,6 +34,14 @@ SUB_LIST= JAVAJARDIR=${JAVAJARDIR} CAIRO_API_VERSION=${CAIRO_API_VERSION} CONFIGURE_ENV+= BOOTCLASSPATH=${JAVA_CLASSES} MAKE_ENV+= BOOTCLASSPATH=${JAVA_CLASSES} +.include <bsd.port.pre.mk> + +.if ${JAVA_PORT_VERSION} == 1.6.0 +PLIST_SUB+= JDK16="" NOTJDK16="@comment " +.else +PLIST_SUB+= JDK16="@comment " NOTJDK16="" +.endif + post-patch: @${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \ ${WRKSRC}/configure @@ -57,4 +65,4 @@ do-install: cd ${WRKSRC}/doc/api && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/api ${TOUCH} ${STAGEDIR}${DOCSDIR}/api/packages.html -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/graphics/cairo-java/pkg-plist b/graphics/cairo-java/pkg-plist index ce5c8e40c6f1..b0c749b543a5 100644 --- a/graphics/cairo-java/pkg-plist +++ b/graphics/cairo-java/pkg-plist @@ -53,10 +53,11 @@ libdata/pkgconfig/%%PORTNAME%%.pc %%PORTDOCS%%%%DOCSDIR%%/api/overview-tree.html %%PORTDOCS%%%%DOCSDIR%%/api/package-list %%PORTDOCS%%%%DOCSDIR%%/api/packages.html -%%PORTDOCS%%%%DOCSDIR%%/api/resources/background.gif -%%PORTDOCS%%%%DOCSDIR%%/api/resources/tab.gif -%%PORTDOCS%%%%DOCSDIR%%/api/resources/titlebar.gif -%%PORTDOCS%%%%DOCSDIR%%/api/resources/titlebar_end.gif +%%JDK16%%%%PORTDOCS%%%%DOCSDIR%%/api/resources/inherit.gif +%%NOTJDK16%%%%PORTDOCS%%%%DOCSDIR%%/api/resources/background.gif +%%NOTJDK16%%%%PORTDOCS%%%%DOCSDIR%%/api/resources/tab.gif +%%NOTJDK16%%%%PORTDOCS%%%%DOCSDIR%%/api/resources/titlebar.gif +%%NOTJDK16%%%%PORTDOCS%%%%DOCSDIR%%/api/resources/titlebar_end.gif %%PORTDOCS%%%%DOCSDIR%%/api/serialized-form.html %%PORTDOCS%%%%DOCSDIR%%/api/stylesheet.css share/java/classes/cairo%%CAIRO_API_VERSION%%.jar |