aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2012-06-12 17:51:30 +0000
committerHiroki Sato <hrs@FreeBSD.org>2012-06-12 17:51:30 +0000
commitbaa7ed727632697384948928be3bb6229a5e152d (patch)
tree8521d83d92a5eb588918daa9a4caf653572c6850 /print
parent8d4602aa3a21acfcbe2ef8b9616815e7ae2b1393 (diff)
Style fix.
Notes
Notes: svn path=/head/; revision=299126
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript9/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/print/ghostscript9/Makefile b/print/ghostscript9/Makefile
index 3c8b092dc8ec..8fd556fd2f9c 100644
--- a/print/ghostscript9/Makefile
+++ b/print/ghostscript9/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-PORTNAME= ghostscript9
+PORTNAME= ghostscript
PORTVERSION= 9.05
PORTREVISION= 5
CATEGORIES= print
@@ -14,9 +14,9 @@ MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \
http://www.humblesoft.com/pub/:epag
MASTER_SITE_SUBDIR= ghostscript/:gs_srcs
-DISTNAME= ${PORTNAME:S,9$,,}-${PORTVERSION}
+PKGNAMESUFFIX= 9
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag
-DIST_SUBDIR= ${PORTNAME:S,9$,,}
+DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_AFTER_ARGS= | ${TAR} -xpf - ${EXCLUDE_DIRS:S/^/--exclude /}
@@ -31,11 +31,9 @@ LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \
jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png \
tiff:${PORTSDIR}/graphics/tiff
-
# XXX: lcms shared lib support is broken
# lcms:${PORTSDIR}/graphics/lcms
-
-RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME:S,9$,,}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
+RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts
CONFLICTS_INSTALL= gambc-[0-9]* ghostscript[78]-[0-9]* \
ghostscript[78]-*-[0-9]*
@@ -75,7 +73,6 @@ PLIST_SUB= GS_VERSION="${PORTVERSION}" \
SUB_FILES= pkg-message
SUB_LIST= DATADIR=${DATADIR} PORTVERSION=${PORTVERSION}
PKGMESSAGE= ${WRKDIR}/pkg-message
-DATADIR= ${PREFIX}/share/${PORTNAME:S,9$,,}
OPTIONS_DEFINE= A4SIZE CUPS FONTCONFIG ICONV LIBPAPER GTK2 X11
OPTIONS_DEFAULT= CUPS FONTCONFIG ICONV LIBPAPER X11