aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript8
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2008-05-05 16:06:33 +0000
committerHiroki Sato <hrs@FreeBSD.org>2008-05-05 16:06:33 +0000
commitbe28863f25d7e6eb3601ca341f8cdb3dada5a744 (patch)
tree6e950d15d0372b45883d4562f18c59ba9ab82c41 /print/ghostscript8
parent5d1720a8b36c1b42dc6d78f2297dc1b9670039f8 (diff)
downloadports-be28863f25d7e6eb3601ca341f8cdb3dada5a744.tar.gz
ports-be28863f25d7e6eb3601ca341f8cdb3dada5a744.zip
Remove SHLIB knob.
Requested by: mezz
Notes
Notes: svn path=/head/; revision=212668
Diffstat (limited to 'print/ghostscript8')
-rw-r--r--print/ghostscript8/Makefile20
-rw-r--r--print/ghostscript8/pkg-plist18
2 files changed, 11 insertions, 27 deletions
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index 8b11d0850a15..6d6e5f26160f 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/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/ghostscript8/pkg-plist b/print/ghostscript8/pkg-plist
index 0ab4bdb4d9af..5ea60c2d2d08 100644
--- a/print/ghostscript8/pkg-plist
+++ b/print/ghostscript8/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