diff options
author | miwi <miwi@FreeBSD.org> | 2011-07-02 15:21:21 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-07-02 15:21:21 +0800 |
commit | 71c7b24ca344da43dc200a31da9058ba1c6b455a (patch) | |
tree | 06ab3cf7894fbd3ea334951ffd69aa4e239d0a57 /textproc/gutenmark | |
parent | 0c48d8a7c4fa518be98ffa0a3deb68ac0b38ea7d (diff) | |
download | freebsd-ports-gnome-71c7b24ca344da43dc200a31da9058ba1c6b455a.tar.gz freebsd-ports-gnome-71c7b24ca344da43dc200a31da9058ba1c6b455a.tar.zst freebsd-ports-gnome-71c7b24ca344da43dc200a31da9058ba1c6b455a.zip |
- Update to 20090510
PR: 158446
Submitted by: Ports Fury
Diffstat (limited to 'textproc/gutenmark')
-rw-r--r-- | textproc/gutenmark/Makefile | 34 | ||||
-rw-r--r-- | textproc/gutenmark/distinfo | 5 | ||||
-rw-r--r-- | textproc/gutenmark/files/patch-MatchWordlists.c | 16 |
3 files changed, 26 insertions, 29 deletions
diff --git a/textproc/gutenmark/Makefile b/textproc/gutenmark/Makefile index 3bfafbc53fb4..6d9dda081c07 100644 --- a/textproc/gutenmark/Makefile +++ b/textproc/gutenmark/Makefile @@ -6,27 +6,41 @@ # $FreeBSD$ PORTNAME= gutenmark -PORTVERSION= 20020714 -PORTREVISION= 1 +PORTVERSION= 20090510 CATEGORIES= textproc -MASTER_SITES= ftp://ftp.sandroid.org/GutenMark/SoftwareSnapshots/ -DISTNAME= GutenMark_source_${PORTVERSION} +MASTER_SITES= http://www.sandroid.org/GutenMark/wasftp.GutenMark/SoftwareSnapshots/ +DISTNAME= GutenMark_source_dev-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Attractively formatting Project Gutenberg texts -BROKEN= Does not fetch - -PLIST_FILES= bin/GutenMark WRKSRC= ${WRKDIR}/GutenMark-source + +USE_WX= 2.8 USE_GMAKE= yes -ALL_TARGET= # empty +ALL_TARGET= default + +PLIST_FILES= bin/GutenMark bin/GutenSplit bin/GUItenMark \ + %%DATADIR%%/convert.jpg %%DATADIR%%/logo.jpg +PLIST_DIRS= %%DATADIR%% post-patch: - @${REINPLACE_CMD} -e "s,cc,${CC},g" \ - -e "s,-O3 -Wall,${CFLAGS},g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|cc|${CC}|g ; \ + s|-O3|${CFLAGS}|g ; \ + /strip /d' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|-Wall|${CFLAGS} -Wall|g ; \ + /strip /d' ${WRKSRC}/GutenUtilities/Makefile + @${REINPLACE_CMD} -e 's|g++|${CXX}|g ; \ + s|`wx-config|`${WX_CONFIG}|g ; \ + /strip /d' ${WRKSRC}/GUItenMark/Makefile + @${REINPLACE_CMD} -e 's|\./convert.jpg|${DATADIR}/convert.jpg|g ; \ + s|\./logo.jpg|${DATADIR}/logo.jpg|g' ${WRKSRC}/GUItenMark/GUItenMark.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/GutenMark ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/GutenUtilities/GutenSplit ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/GUItenMark/GUItenMark ${PREFIX}/bin + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/GUItenMark/*.jpg ${DATADIR} .include <bsd.port.mk> diff --git a/textproc/gutenmark/distinfo b/textproc/gutenmark/distinfo index be46761ad236..af36e9b1c93e 100644 --- a/textproc/gutenmark/distinfo +++ b/textproc/gutenmark/distinfo @@ -1,3 +1,2 @@ -MD5 (GutenMark_source_20020714.tar.gz) = 0880c41be3ed866f4a2d6f0fcf44a655 -SHA256 (GutenMark_source_20020714.tar.gz) = 79ea27ae88b5a4762364352c360113aa3012dfaced4d6daa6acf08f85847094e -SIZE (GutenMark_source_20020714.tar.gz) = 192099 +SHA256 (GutenMark_source_dev-20090510.tar.gz) = 85120b2dd00e6fe34cf2e92715ada8961f47d24bc97bc90e277ae83ce2c67ce5 +SIZE (GutenMark_source_dev-20090510.tar.gz) = 432065 diff --git a/textproc/gutenmark/files/patch-MatchWordlists.c b/textproc/gutenmark/files/patch-MatchWordlists.c deleted file mode 100644 index f1342e9f75a4..000000000000 --- a/textproc/gutenmark/files/patch-MatchWordlists.c +++ /dev/null @@ -1,16 +0,0 @@ ---- libGutenSpell/MatchWordlists.c.orig Mon Oct 7 15:30:33 2002 -+++ libGutenSpell/MatchWordlists.c Mon Oct 7 15:30:00 2002 -@@ -430,11 +430,13 @@ - if (LogFile != NULL) - fprintf (LogFile, "MatchWordlists: GLOB_NOSPACE for \"%s\"\n", ss); - break; -+#ifndef __FreeBSD__ - case GLOB_ABEND: - fprintf (stderr, "Possible disk-read error.\n"); - if (LogFile != NULL) - fprintf (LogFile, "MatchWordlists: GLOB_ABEND for \"%s\"\n", ss); - break; -+#endif - default: - fprintf (stderr, "Unknown globbing error.\n"); - if (LogFile != NULL) |