From be28863f25d7e6eb3601ca341f8cdb3dada5a744 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Mon, 5 May 2008 16:06:33 +0000 Subject: Remove SHLIB knob. Requested by: mezz --- print/ghostscript-gpl/Makefile | 20 ++------------------ print/ghostscript-gpl/pkg-plist | 18 +++++++++--------- 2 files changed, 11 insertions(+), 27 deletions(-) (limited to 'print/ghostscript-gpl') diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile index 8b11d0850a15..6d6e5f26160f 100644 --- a/print/ghostscript-gpl/Makefile +++ b/print/ghostscript-gpl/Makefile @@ -7,6 +7,7 @@ PORTNAME= ghostscript PORTVERSION= 8.62 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:gs_srcs/} \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \ @@ -53,7 +54,6 @@ PKGMESSAGE= ${WRKDIR}/pkg-message OPTIONS= A4SIZE "Set A4 (not Letter) as a default paper size" off \ FONTCONFIG "fontconfig support" on \ FT_BRIDGE "FreeType bridge" off \ - SHLIB "With shared libraries" off \ X11 "X11 support" on MAN1= dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 \ @@ -183,22 +183,10 @@ PLIST_SUB+= FAPI="" PLIST_SUB+= FAPI="@comment " .endif -.if !defined(WITHOUT_SHLIB) -.if defined(WITHOUT_X11) -MAKE_ENV+= SOC_LOADER="dxmainc.c" -.else -USE_GNOME+= gtk20 -MAKE_ENV+= SOC_LOADER="dxmain.c" \ - SOC_CFLAGS="`pkg-config --cflags gtk+-2.0`" \ - SOC_LIBS="`pkg-config --libs gtk+-2.0`" -.endif ALL_TARGET= so INSTALL_TARGET= soinstall USE_LDCONFIG= yes -PLIST_SUB+= SHLIB="" SHLIB_VER="${PORTVERSION:R}" -.else -PLIST_SUB+= SHLIB="@comment " -.endif +PLIST_SUB+= SHLIB_VER="${PORTVERSION:R}" PORTDOCS= ${PORTVERSION} PORTDOC_FILES= japanese/Gdevlips.htm japanese/README.gs550j \ @@ -279,12 +267,8 @@ post-install: post-install-fapi .endif post-install: -.if defined(WITH_SHLIB) ${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx ${LN} -sf gsc ${PREFIX}/bin/gs -.else - ${STRIP_CMD} ${PREFIX}/bin/gs -.endif ${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont ${CIDFONTDIR}/CIDFont @${ECHO_MSG} @${CAT} ${PKGMESSAGE} diff --git a/print/ghostscript-gpl/pkg-plist b/print/ghostscript-gpl/pkg-plist index 0ab4bdb4d9af..5ea60c2d2d08 100644 --- a/print/ghostscript-gpl/pkg-plist +++ b/print/ghostscript-gpl/pkg-plist @@ -8,13 +8,13 @@ bin/fixmswrd.pl bin/font2c bin/gs bin/gsbj -%%SHLIB%%bin/gsc +bin/gsc bin/gsdj bin/gsdj500 bin/gslj bin/gslp bin/gsnd -%%SHLIB%%bin/gsx +bin/gsx bin/lprsetup.sh %%GS_pcl3%%bin/pcl3opts bin/pdf2dsc @@ -35,13 +35,13 @@ bin/ps2ps2 bin/pv.sh bin/unix-lpr.sh bin/wftopfa -%%SHLIB%%include/ghostscript/gdevdsp.h -%%SHLIB%%include/ghostscript/iapi.h -%%SHLIB%%include/ghostscript/ierrors.h -%%SHLIB%%@dirrm include/ghostscript -%%SHLIB%%lib/libgs.so -%%SHLIB%%lib/libgs.so.%%SHLIB_VER%% -%%SHLIB%%lib/libgs.so.%%GS_VERSION%% +include/ghostscript/gdevdsp.h +include/ghostscript/iapi.h +include/ghostscript/ierrors.h +@dirrm include/ghostscript +lib/libgs.so +lib/libgs.so.%%SHLIB_VER%% +lib/libgs.so.%%GS_VERSION%% %%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-EUC-H %%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-EUC-V %%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-H -- cgit v1.2.3