Index: head/print/pdflib/Makefile =================================================================== --- head/print/pdflib/Makefile (revision 451180) +++ head/print/pdflib/Makefile (revision 451181) @@ -1,63 +1,61 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= pdflib PORTVERSION= 7.0.5 PORTREVISION= 5 CATEGORIES= print perl5 java MASTER_SITES= http://www.pdflib.com/binaries/PDFlib/${PORTVERSION:S/.//g}/ DISTNAME= PDFlib-Lite-${PORTVERSION}p3 MAINTAINER= ale@FreeBSD.org COMMENT= C library for dynamically generating PDF RESTRICTED= Many odd restrictions on usage and distribution OPTIONS_DEFINE= PERL JAVA PERL_DESC= Build perl bindings JAVA_DESC= Build Java bindings USES= gmake libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-py=no --with-ruby=no --with-tcl=no PORTDOCS= * PERL_USES= perl5 .include -.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" -CONFIGURE_ARGS+=--enable-64bit -.endif - .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-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pdfimage ${STAGEDIR}${PREFIX}/bin/text2pdf \ + ${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 ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/pdflib/* ${STAGEDIR}${DOCSDIR} .include Index: head/print/pdflib/files/patch-libs_pdcore_pc__config.h =================================================================== --- head/print/pdflib/files/patch-libs_pdcore_pc__config.h (nonexistent) +++ head/print/pdflib/files/patch-libs_pdcore_pc__config.h (revision 451181) @@ -0,0 +1,11 @@ +--- libs/pdcore/pc_config.h.orig 2017-10-04 07:15:35 UTC ++++ libs/pdcore/pc_config.h +@@ -180,7 +180,7 @@ + /* try to identify Mac OS 9 compilers */ + + #if (defined macintosh || defined __POWERPC__ || defined __CFM68K__) && \ +- !defined MAC && !defined MACOSX && !defined __BEOS__ ++ !defined MAC && !defined MACOSX && !defined __BEOS__ && !defined __FreeBSD__ + #define MAC + #endif + Property changes on: head/print/pdflib/files/patch-libs_pdcore_pc__config.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property