Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2018 20:29:03 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479482 - head/print/pdflib
Message-ID:  <201809102029.w8AKT3LK006149@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Sep 10 20:29:03 2018
New Revision: 479482
URL: https://svnweb.freebsd.org/changeset/ports/479482

Log:
  Convert to options target helper
  
  Approved by:	portmgr (blanket)

Modified:
  head/print/pdflib/Makefile

Modified: head/print/pdflib/Makefile
==============================================================================
--- head/print/pdflib/Makefile	Mon Sep 10 20:28:58 2018	(r479481)
+++ head/print/pdflib/Makefile	Mon Sep 10 20:29:03 2018	(r479482)
@@ -52,10 +52,12 @@ post-install:
 		${STAGEDIR}${PREFIX}/lib/libpdf.so.6.0.5
 	${MKDIR} ${STAGEDIR}${DATADIR}/fonts
 	${INSTALL_DATA} ${WRKSRC}/fonts/* ${STAGEDIR}${DATADIR}/fonts
-.if ${PORT_OPTIONS:MJAVA}
-	${INSTALL_DATA} ${WRKSRC}/bind/pdflib/java/pdflib.jar ${STAGEDIR}${JAVAJARDIR}/pdflib.jar
-.endif
+
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/pdflib/* ${STAGEDIR}${DOCSDIR}
+
+post-install-JAVA-on:
+	${INSTALL_DATA} ${WRKSRC}/bind/pdflib/java/pdflib.jar ${STAGEDIR}${JAVAJARDIR}/pdflib.jar
 
 .include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809102029.w8AKT3LK006149>