svn commit: r569051 - head/print/pdflib
Chris Rees
crees at FreeBSD.org
Tue Mar 23 19:12:54 UTC 2021
Author: crees
Date: Tue Mar 23 19:12:53 2021
New Revision: 569051
URL: https://svnweb.freebsd.org/changeset/ports/569051
Log:
print/pdflib: License allows distribution
Add LICENSE and details.
There is no need for this port to be restricted- it is freely
redistributable.
https://lists.freebsd.org/pipermail/freebsd-ports/2021-March/120412.html
While here, a few style fixes and updates
Reported by: Patrick M. Hausen <hausen at punkt.de>
Approved by: maintainer timeout (ale, >14 days)
Differential Revision: https://reviews.freebsd.org/D29059
Modified:
head/print/pdflib/Makefile (contents, props changed)
head/print/pdflib/distinfo (contents, props changed)
Modified: head/print/pdflib/Makefile
==============================================================================
--- head/print/pdflib/Makefile Tue Mar 23 19:10:26 2021 (r569050)
+++ head/print/pdflib/Makefile Tue Mar 23 19:12:53 2021 (r569051)
@@ -5,51 +5,52 @@ PORTNAME= pdflib
PORTVERSION= 7.0.5
PORTREVISION= 6
CATEGORIES= print perl5 java
-MASTER_SITES= LOCAL/ale
+MASTER_SITES= LOCAL/ale:src \
+ LOCAL/crees:license
DISTNAME= PDFlib-Lite-${PORTVERSION}p3
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src PDFlib-Lite-license.txt.gz:license
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ale at FreeBSD.org
COMMENT= C library for dynamically generating PDF
+LICENSE= PDFlib-Lite
+LICENSE_NAME= PDFlib-Lite
+LICENSE_FILE= ${WRKDIR}/LICENSE
+LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
+
BUILD_DEPENDS= gsed:textproc/gsed
-RESTRICTED= Many odd restrictions on usage and distribution
-
-OPTIONS_DEFINE= PERL JAVA DOCS
-PERL_DESC= Build perl bindings
-JAVA_DESC= Build Java bindings
-
USES= gmake libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed
CONFIGURE_ARGS= --with-py=no --with-ruby=no --with-tcl=no
+OPTIONS_DEFINE= PERL JAVA DOCS
+OPTIONS_SUB= yes
+PERL_DESC= Build perl bindings
+JAVA_DESC= Build Java bindings
+PERL_CONFIGURE_WITH= perl=${PERL}
+
PORTDOCS= *
PERL_USES= perl5
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MPERL}
-PLIST_SUB+= PERL=""
-CONFIGURE_ARGS+=--with-perl=${PERL}
-.else
-CONFIGURE_ARGS+=--with-perl=no
-PLIST_SUB+= PERL="@comment "
-.endif
-
.if ${PORT_OPTIONS:MJAVA}
USE_JAVA= yes
JAVA_BUILD= yes
JAVA_RUN= yes
-PLIST_SUB+= JAVA=""
CONFIGURE_ARGS+=--with-java=${JAVA_HOME}
.else
CONFIGURE_ARGS+=--with-java=no
-PLIST_SUB+= JAVA="@comment "
.endif
+post-extract:
+ ${GZCAT} ${DISTDIR}/PDFlib-Lite-license.txt.gz > ${WRKDIR}/LICENSE
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pdfimage ${STAGEDIR}${PREFIX}/bin/text2pdf \
${STAGEDIR}${PREFIX}/lib/libpdf.so.6.0.5
@@ -63,4 +64,4 @@ post-install-DOCS-on:
post-install-JAVA-on:
${INSTALL_DATA} ${WRKSRC}/bind/pdflib/java/pdflib.jar ${STAGEDIR}${JAVAJARDIR}/pdflib.jar
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/print/pdflib/distinfo
==============================================================================
--- head/print/pdflib/distinfo Tue Mar 23 19:10:26 2021 (r569050)
+++ head/print/pdflib/distinfo Tue Mar 23 19:12:53 2021 (r569051)
@@ -1,2 +1,5 @@
+TIMESTAMP = 1614866181
SHA256 (PDFlib-Lite-7.0.5p3.tar.gz) = e5fb30678165d28b2bf066f78d5f5787e73a2a28d4902b63e3e07ce1678616c9
SIZE (PDFlib-Lite-7.0.5p3.tar.gz) = 8179201
+SHA256 (PDFlib-Lite-license.txt.gz) = fedc1ef76e3df5f40cf5740a0fc06df5a7844a968cf72dba3e073716f779a91b
+SIZE (PDFlib-Lite-license.txt.gz) = 2869
More information about the svn-ports-head
mailing list