- Update MASTER_SITES.

- Add a patch to suppress a warning message.
- Style fixes.
This commit is contained in:
Hiroki Sato 2012-02-12 18:46:35 +00:00
parent 5b71eaa441
commit 57f5bb7caf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291071
3 changed files with 15 additions and 7 deletions

View file

@ -9,7 +9,7 @@ PORTNAME= ghostscript8
PORTVERSION= 8.71
PORTREVISION= 8
CATEGORIES= print
MASTER_SITES= http://ghostscript.com/releases/:gs_srcs \
MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \
SF/ghostscript/files/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \
http://www.humblesoft.com/pub/:epag
@ -183,7 +183,6 @@ pre-build: pre-build-drivers.mak
pre-su-install:
${MKDIR} ${DATADIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
post-install-docs:
${MKDIR} ${WRKSRC}/contrib/japanese
@ -203,6 +202,7 @@ post-install: post-install-fapi
.endif
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}/${PORTVERSION}
${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx
${LN} -sf gsc ${PREFIX}/bin/gs
${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont ${CIDFONTDIR}/CIDFont

View file

@ -9,15 +9,12 @@ PORTDOC_FILES+= epag/ert.txt epag/gdevepag.txt epag/ChangeLog \
pre-build-epag:
${LN} -s -f ${WRKSRC}/${EPAG_NAME}/gdevepag.c ${WRKSRC}/base
${MKDIR} ${WRKSRC}/contrib/epag
${INSTALL_DATA} ${WRKSRC}/${EPAG_NAME}/* ${WRKSRC}/contrib/epag
post-build-epag:
cd ${WRKSRC}/${EPAG_NAME} && \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} Makefile
post-install-docs-epag:
${MKDIR} ${WRKSRC}/contrib/epag
${INSTALL_DATA} ${WRKSRC}/${EPAG_NAME}/* ${WRKSRC}/contrib/epag
pre-build: pre-build-epag
post-build: post-build-epag
post-install-docs: post-install-docs-epag

View file

@ -0,0 +1,11 @@
--- epag-3.09/ert.c.orig 2000-07-08 13:33:09.000000000 +0900
+++ epag/ert.c 2012-02-13 03:38:07.000000000 +0900
@@ -1,6 +1,8 @@
/* $Id: ert.c,v 1.3 1998/11/20 10:51:12 nari Exp $ */
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
/*
* EPSON Remoteのコマンドを出力するコマンド