Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2014 08:44:34 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r373130 - in head/print/ghostscript8: . files
Message-ID:  <201411230844.sAN8iYro031685@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Sun Nov 23 08:44:34 2014
New Revision: 373130
URL: https://svnweb.freebsd.org/changeset/ports/373130
QAT: https://qat.redports.org/buildarchive/r373130/

Log:
  - Strip binaries properly.
  - Update pkg-message.

Modified:
  head/print/ghostscript8/Makefile
  head/print/ghostscript8/files/patch-base-Makefile.in
  head/print/ghostscript8/files/patch-base-unixinst.mak
  head/print/ghostscript8/files/pkg-message.in

Modified: head/print/ghostscript8/Makefile
==============================================================================
--- head/print/ghostscript8/Makefile	Sun Nov 23 08:34:39 2014	(r373129)
+++ head/print/ghostscript8/Makefile	Sun Nov 23 08:44:34 2014	(r373130)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ghostscript
 PORTVERSION=	8.71
-PORTREVISION=	16
+PORTREVISION=	17
 CATEGORIES=	print
 MASTER_SITES=	http://downloads.ghostscript.com/public/:gs_srcs \
 		SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \
@@ -140,34 +140,31 @@ pre-build-drivers.mak:
 .endfor
 
 pre-build: pre-build-drivers.mak
-	${MKDIR} ${WRKSRC}/obj
-	${MKDIR} ${WRKSRC}/bin
-	${MKDIR} ${WRKSRC}/freetype/include
+	${MKDIR} ${WRKSRC}/obj ${WRKSRC}/bin ${WRKSRC}/freetype/include
 	${LN} -s -f ${LOCALBASE}/include/ft2build.h \
-		${WRKSRC}/freetype/include/ft2build.h
+	    ${WRKSRC}/freetype/include/ft2build.h
 	${LN} -s -f ${LOCALBASE}/include/freetype2/freetype \
-		${WRKSRC}/freetype/include/freetype
+	    ${WRKSRC}/freetype/include/freetype
 	${MKDIR} ${WRKSRC}/freetype/objs
 	${LN} -s -f ${LOCALBASE}/lib/libfreetype.so \
-		${WRKSRC}/freetype/objs/freetype214MT_D.so
+	    ${WRKSRC}/freetype/objs/freetype214MT_D.so
 
 pre-su-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}
 
 post-install-docs:
 	${MKDIR} ${WRKSRC}/contrib/japanese
-	${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* ${WRKSRC}/contrib/japanese
+	${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* \
+	    ${WRKSRC}/contrib/japanese
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/contrib && \
-		${TAR} -cf - ${PORTDOC_FILES} | \
-		( cd ${STAGEDIR}${DOCSDIR} && ${TAR} -xof - )
+	    ${TAR} -cf - ${PORTDOC_FILES} | \
+	    (cd ${STAGEDIR}${DOCSDIR} && ${TAR} -xof -)
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/lib/FAPIcidfmap			\
-		${WRKSRC}/lib/FAPIconfig ${WRKSRC}/lib/FAPIfontmap	\
-		${STAGEDIR}${DATADIR}/${PORTVERSION}/Resource/Init
-	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR}/${PORTVERSION}
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gsc ${STAGEDIR}${PREFIX}/bin/gsx
+	${INSTALL_DATA} ${WRKSRC}/lib/FAPIcidfmap \
+	    ${WRKSRC}/lib/FAPIconfig ${WRKSRC}/lib/FAPIfontmap \
+	    ${STAGEDIR}${DATADIR}/${PORTVERSION}/Resource/Init
 	${LN} -sf gsc ${STAGEDIR}${PREFIX}/bin/gs
 	${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont \
 	    ${STAGEDIR}${CIDFONTDIR}/CIDFont

Modified: head/print/ghostscript8/files/patch-base-Makefile.in
==============================================================================
--- head/print/ghostscript8/files/patch-base-Makefile.in	Sun Nov 23 08:34:39 2014	(r373129)
+++ head/print/ghostscript8/files/patch-base-Makefile.in	Sun Nov 23 08:44:34 2014	(r373130)
@@ -1,18 +1,19 @@
 --- base/Makefile.in.orig	2009-12-18 16:04:10.000000000 +0900
-+++ base/Makefile.in	2010-05-23 03:04:55.000000000 +0900
-@@ -47,9 +47,8 @@
++++ base/Makefile.in	2014-11-23 17:40:23.000000000 +0900
+@@ -47,9 +47,9 @@
  # the directories also define the default search path for the
  # initialization files (gs_*.ps) and the fonts.
  
 -INSTALL = $(GLSRCDIR)/instcopy -c
 -INSTALL_PROGRAM = $(INSTALL) -m 755
 -INSTALL_DATA = $(INSTALL) -m 644
-+INSTALL_PROGRAM = ${BSD_INSTALL_SCRIPT}
++INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM}
++INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT}
 +INSTALL_DATA = ${BSD_INSTALL_DATA}
  INSTALL_SHARED = @INSTALL_SHARED@
  
  prefix = @prefix@
-@@ -156,7 +155,7 @@
+@@ -156,7 +156,7 @@
  # some older JPEG streams that violate the standard. If the JPEG
  # library built from local sources, the patch will be applied.
  
@@ -21,7 +22,7 @@
  JPEG_NAME=jpeg
  
  # Define the directory where the PNG library sources are stored,
-@@ -164,12 +163,12 @@
+@@ -164,12 +164,12 @@
  # You may need to change this if the libpng version changes.
  # See libpng.mak for more information.
  
@@ -36,7 +37,7 @@
  TIFFSRCDIR=@LIBTIFFDIR@
  TIFFPLATFORM=unix
  TIFFCONFIG_SUFFIX=
-@@ -178,7 +177,7 @@
+@@ -178,7 +178,7 @@
  # Define the directory where the zlib sources are stored.
  # See zlib.mak for more information.
  
@@ -45,7 +46,7 @@
  ZSRCDIR=@ZLIBDIR@
  #ZLIB_NAME=gz
  ZLIB_NAME=z
-@@ -254,7 +253,7 @@
+@@ -254,7 +254,7 @@
  # Define the added flags for standard, debugging, profiling 
  # and shared object builds.
  
@@ -54,7 +55,7 @@
  CFLAGS_DEBUG=-g -O0
  CFLAGS_PROFILE=-pg @OPT_CFLAGS@
  CFLAGS_SO=@DYNAMIC_CFLAGS@
-@@ -299,7 +298,7 @@
+@@ -299,7 +299,7 @@
  # Solaris may need -lnsl -lsocket -lposix4.
  # (Libraries required by individual drivers are handled automatically.)
  
@@ -63,7 +64,7 @@
  
  # Define the standard libraries to search at the end of linking.
  # Most platforms require -lpthread for the POSIX threads library;
-@@ -343,7 +342,7 @@
+@@ -343,7 +343,7 @@
  # the pthread library. Otherwise use SYNC=nosync
  #SYNC=posync
  #SYNC=nosync
@@ -72,7 +73,7 @@
  
  # programs we use
  RM=rm -f
-@@ -436,27 +435,27 @@
+@@ -436,27 +436,27 @@
  #DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev
  #DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev
  DEVICE_DEVS=$(DISPLAY_DEV) @X_DEVS@
@@ -121,7 +122,7 @@
  
  
  # Shared library target to build.
-@@ -490,6 +489,7 @@
+@@ -490,6 +490,7 @@
  # ---------------- End of platform-specific section ---------------- #
  
  INSTALL_CONTRIB=@INSTALL_CONTRIB@

Modified: head/print/ghostscript8/files/patch-base-unixinst.mak
==============================================================================
--- head/print/ghostscript8/files/patch-base-unixinst.mak	Sun Nov 23 08:34:39 2014	(r373129)
+++ head/print/ghostscript8/files/patch-base-unixinst.mak	Sun Nov 23 08:44:34 2014	(r373130)
@@ -1,5 +1,14 @@
---- base/unixinst.mak.orig	2007-08-15 05:48:29.000000000 +0900
-+++ base/unixinst.mak	2008-05-05 16:48:06.000000000 +0900
+--- base/unixinst.mak.orig	2009-11-19 09:09:15.000000000 +0900
++++ base/unixinst.mak	2014-11-23 17:40:46.000000000 +0900
+@@ -44,7 +44,7 @@
+ wftopfa fixmswrd.pl lprsetup.sh pj-gs.sh pv.sh sysvlp.sh unix-lpr.sh ;\
+ 	do if ( test -f $(PSLIBDIR)/$$f ); then \
+ 	  (cat $(PSLIBDIR)/$$f | sed -e "s/GS_EXECUTABLE=gs/GS_EXECUTABLE=$(GS)/" > $(PSOBJDIR)/$$f); \
+-	  $(INSTALL_PROGRAM) $(PSOBJDIR)/$$f $(DESTDIR)$(scriptdir)/$$f; \
++	  $(INSTALL_SCRIPT) $(PSOBJDIR)/$$f $(DESTDIR)$(scriptdir)/$$f; \
+ 	fi;\
+ 	done'
+ 
 @@ -128,7 +128,7 @@
  	done'
  

Modified: head/print/ghostscript8/files/pkg-message.in
==============================================================================
--- head/print/ghostscript8/files/pkg-message.in	Sun Nov 23 08:34:39 2014	(r373129)
+++ head/print/ghostscript8/files/pkg-message.in	Sun Nov 23 08:44:34 2014	(r373130)
@@ -1,7 +1,5 @@
-Note: in order to use the script dvipdf, dvips must be installed.
-This program may be provided by either print/dvips or print/dvipsk-tetex
-(print/dvipsk-tetex may be preferable since it doesn't conflict with
-tetex things).
+Note: in order to use the script "dvipdf", dvips must be installed.
+This program is provided by another package print/tex-dvipsk.
 
-Also note that FAPIfontmap and FAPIcidfmap in
-%%DATADIR%%/%%PORTVERSION%%/Resource/Init have to be configured first.
+FAPIfontmap and FAPIcidfmap in %%DATADIR%%/%%PORTVERSION%%/Resource/Init
+have to be configured if you want to use FAPI feature.



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