- -lc_r -> -pthread

- replace fonts distfile with one that is fetchable.
--
Ok'd by: maintainer
This commit is contained in:
brad 2002-03-24 01:08:24 +00:00
parent 0f90714323
commit 43fcdf8e20
3 changed files with 16 additions and 15 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.13 2002/03/21 21:25:50 espie Exp $
# $OpenBSD: Makefile,v 1.14 2002/03/24 01:08:24 brad Exp $
COMMENT="AFPL PostScript interpreter"
@ -53,7 +53,7 @@ BASE_FLAGS= INSTALL_PROGRAM='${INSTALL_SCRIPT}' \
GLGENDIR=./objects \
PSOBJDIR=./objects \
PSGENDIR=./objects \
STDLIBS='-lc_r -lm'
STDLIBS='-pthread -lm'
PDFDIR=share/ghostscript/${VERSION}/lib

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.24 2002/03/21 21:25:50 espie Exp $
# $OpenBSD: Makefile,v 1.25 2002/03/24 01:08:25 brad Exp $
COMMENT="GNU PostScript interpreter"
@ -9,12 +9,13 @@ NEED_VERSION= 1.515
DIR= gnu/gs${VERSION:S/.//}
MASTER_SITES= ${GS_SITES} ${MASTER_SITE_GNU}
MASTER_SITES1= ${PDF_SITES}
MASTER_SITES1= ${MASTER_SITE_GNU}
MASTER_SITES2= ${PDF_SITES}
HOMEPAGE= http://www.cs.wisc.edu/~ghost/
MASTER_SITE_SUBDIR= ghostscript
DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} pdf_sec.ps:1
DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD}:1 pdf_sec.ps:2
SUBST_VARS= OSREV VERSION
DIST_SUBDIR= gs
@ -50,7 +51,7 @@ BASE_FLAGS= INSTALL_PROGRAM='${INSTALL_SCRIPT}' \
GLGENDIR=./objects \
PSOBJDIR=./objects \
PSGENDIR=./objects \
STDLIBS='-lc_r -lm'
STDLIBS='-pthread -lm'
PDFDIR=share/ghostscript/${VERSION}/lib
@ -107,7 +108,7 @@ GS_SOURCES= ghostscript-${VERSION}.tar.gz
# later version numbers pointing to them. To avoid unnecessarily
# downloading distfiles, do not change these when upgrading the port
# unless the files really change.
GS_FONTS_STD= ghostscript-fonts-std-6.0.tar.gz
GS_FONTS_STD= gnu-gs-fonts-std-6.0.tar.gz
# Additional driver HP 850, see http://www.erdw.ethz.ch/~bonk/hp850/hp850.html
HP850_DRV= hp8xxs13.zip
@ -115,8 +116,8 @@ HP850_DRV= hp8xxs13.zip
# The pdf_sec.ps non-stub version has been moved to a separate package
FLAVORS=A4
FLAVOR?=
.if ${FLAVOR:U} == "A4"
CFLAGS+= -DA4
.endif
@ -136,14 +137,14 @@ pre-build:
mkdir -p ${WRKBUILD}/bin
pre-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/ghostscript
@${INSTALL_PROGRAM_DIR} ${PREFIX}/bin
@${INSTALL_MAN_DIR} ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/ghostscript
${INSTALL_PROGRAM_DIR} ${PREFIX}/bin
${INSTALL_MAN_DIR} ${PREFIX}/man/man1
cd ${PREFIX}/share/ghostscript && \
tar xzf ${FULLDISTDIR}/${GS_FONTS_STD}
post-install:
strip ${PREFIX}/bin/gs
@strip ${PREFIX}/bin/gs
${INSTALL_DATA} ${FULLDISTDIR}/pdf_sec.ps ${PREFIX}/${PDFDIR}
.include <bsd.port.mk>

View File

@ -1,9 +1,9 @@
MD5 (gs/ghostscript-6.51.tar.gz) = be4723a485b15c30999d4a833eec98c5
MD5 (gs/ghostscript-fonts-std-6.0.tar.gz) = 8250132d6fcc6eb1419f505f06c7690b
MD5 (gs/gnu-gs-fonts-std-6.0.tar.gz) = 1521fab85ca3e8ce3ce781d4970e6c79
MD5 (gs/pdf_sec.ps) = 92cd6af5b4d7219e91e61b8351f0f7c4
RMD160 (gs/ghostscript-6.51.tar.gz) = 4f8209562b0dae1d3a132194db5c66d46a0b831d
RMD160 (gs/ghostscript-fonts-std-6.0.tar.gz) = 817e5e01f92bb509d7a75ffc6508185eae71f14d
RMD160 (gs/gnu-gs-fonts-std-6.0.tar.gz) = 5d5fe14cd8700e24ef4c11ab4728114a03e23ee8
RMD160 (gs/pdf_sec.ps) = efb8e01a8fb6a99d8635d35360578c45a7c1c2e9
SHA1 (gs/ghostscript-6.51.tar.gz) = bc0fce6c751341efa8291c367a0d811aae3402b0
SHA1 (gs/ghostscript-fonts-std-6.0.tar.gz) = a990603330ac08ebb85624a695a6658ffcebfa8f
SHA1 (gs/gnu-gs-fonts-std-6.0.tar.gz) = cdad2f3752c513fe1cfb0eeaf6661753e2cc182c
SHA1 (gs/pdf_sec.ps) = e185f12cb8764ce2d7d32931c6dbd5e05df8722f