diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-11-20 12:53:58 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-11-20 12:53:58 +0000 |
commit | f4789a27c3f4f772dda290b0ab45083c5d0c7bed (patch) | |
tree | 2cc61d6c211f26eb8b67ce96ea965bdae6f7251a | |
parent | 89dfb6b551d73956ed8e7a33a9c3cee355474b6f (diff) | |
download | FreeBSD-ports-f4789a27c3f4f772dda290b0ab45083c5d0c7bed.zip FreeBSD-ports-f4789a27c3f4f772dda290b0ab45083c5d0c7bed.tar.gz |
upgrade to 2.6.6
PR: 45440
Submitted by: Ports Fury
-rw-r--r-- | graphics/xpaint/Makefile | 13 | ||||
-rw-r--r-- | graphics/xpaint/distinfo | 2 | ||||
-rw-r--r-- | graphics/xpaint/files/patch-aa | 7 | ||||
-rw-r--r-- | graphics/xpaint/files/patch-ae | 14 | ||||
-rw-r--r-- | graphics/xpaint/pkg-descr | 2 | ||||
-rw-r--r-- | graphics/xpaint/pkg-plist | 7 |
6 files changed, 29 insertions, 16 deletions
diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile index 5690481..9cd5abe 100644 --- a/graphics/xpaint/Makefile +++ b/graphics/xpaint/Makefile @@ -6,19 +6,24 @@ # PORTNAME= xpaint -PORTVERSION= 2.6.2 +PORTVERSION= 2.6.6 CATEGORIES= graphics -MASTER_SITES= http://home.worldonline.dk/torsten/xpaint/ \ - ftp://ftp.win.ne.jp/pub/graphics/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ftp://ftp.ac-grenoble.fr/Office/ +MASTER_SITE_SUBDIR= sf-${PORTNAME} MAINTAINER= ports@FreeBSD.org LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \ png.5:${PORTSDIR}/graphics/png -WRKSRC= ${WRKDIR}/${PORTNAME} +USE_BZIP2= yes USE_IMAKE= yes USE_XPM= yes MAN1= xpaint.1 +post-patch: + @${ECHO_CMD} \ + "SYS_LIBRARIES = XawClientLibs -lm" > ${WRKSRC}/Local.xawdefs + .include <bsd.port.mk> diff --git a/graphics/xpaint/distinfo b/graphics/xpaint/distinfo index d4b9143..cf2ce2b 100644 --- a/graphics/xpaint/distinfo +++ b/graphics/xpaint/distinfo @@ -1 +1 @@ -MD5 (xpaint-2.6.2.tar.gz) = 9f22460f15a189721573d88454ce3d41 +MD5 (xpaint-2.6.6.tar.bz2) = 595bcf2dac5525ff757049a63d5e871d diff --git a/graphics/xpaint/files/patch-aa b/graphics/xpaint/files/patch-aa index 05858b7..4028cae 100644 --- a/graphics/xpaint/files/patch-aa +++ b/graphics/xpaint/files/patch-aa @@ -1,6 +1,6 @@ ---- Local.config.orig Sun Sep 3 07:02:09 2000 -+++ Local.config Fri Mar 9 03:26:06 2001 -@@ -141,10 +141,12 @@ +--- Local.config.orig Mon Oct 28 17:00:32 2002 ++++ Local.config Fri Nov 8 23:14:33 2002 +@@ -151,10 +151,13 @@ #endif #if defined(FreeBSDArchitecture) @@ -18,4 +18,5 @@ +PNG_INCLUDE = -I${LOCALBASE}/include +PNG_LIB = -L${LOCALBASE}/lib -Wl,-rpath,${LOCALBASE}/lib -lpng -lz +XPM_INCLUDE = -I$(INCDIR)/X11 ++SHAREDIR = $(LIBDIR)/xpaint #endif diff --git a/graphics/xpaint/files/patch-ae b/graphics/xpaint/files/patch-ae index 7e524c6..3094111 100644 --- a/graphics/xpaint/files/patch-ae +++ b/graphics/xpaint/files/patch-ae @@ -1,6 +1,6 @@ ---- readRC.c.orig Sun Sep 3 07:07:09 2000 -+++ readRC.c Fri Mar 9 03:31:53 2001 -@@ -30,11 +30,13 @@ +--- readRC.c.orig Sun Oct 27 16:32:36 2002 ++++ readRC.c Fri Nov 8 22:50:21 2002 +@@ -32,11 +32,13 @@ #include <unistd.h> #endif @@ -14,7 +14,7 @@ #define RC_FILENAME ".XPaintrc" -@@ -64,19 +66,32 @@ +@@ -73,19 +75,32 @@ static FILE * openTemp(char **np) { @@ -25,7 +25,7 @@ char xx[256]; if ((n = getenv("TMPDIR")) == NULL) - n = "/tmp"; + n = "/tmp"; +#ifdef HAVE_MKSTEMP + snprintf(xx, 256, "%s/%s", n, "/XPaintXXXXXXX"); @@ -33,12 +33,12 @@ + n = xx; +#else strcpy(xx, n); - strcat(xx, "/XPaintXXXXXXX"); + strcat(xx, "/XPaint-XXXXXX"); n = mktemp(xx); +#endif tempName[++tempIndex] = XtNewString(n); if (np != NULL) - *np = tempName[tempIndex]; + *np = tempName[tempIndex]; +#ifdef HAVE_MKSTEMP + return fdopen(fd, "w"); +#else diff --git a/graphics/xpaint/pkg-descr b/graphics/xpaint/pkg-descr index d3399b7..618b313 100644 --- a/graphics/xpaint/pkg-descr +++ b/graphics/xpaint/pkg-descr @@ -2,4 +2,4 @@ XPaint is a color image editing tool which features most standard paint program options. It allows for the editing of multiple images simultaneously and supports various formats, including PPM, XBM, TIFF, etc. -WWW: http://home.worldonline.dk/torsten/xpaint/ +WWW: http://sf-xpaint.sourceforge.net/ diff --git a/graphics/xpaint/pkg-plist b/graphics/xpaint/pkg-plist index 138d5e9..92e2fef 100644 --- a/graphics/xpaint/pkg-plist +++ b/graphics/xpaint/pkg-plist @@ -1,2 +1,9 @@ bin/xpaint lib/X11/app-defaults/XPaint +lib/X11/xpaint/help/Help +lib/X11/xpaint/help/Help_fr +lib/X11/xpaint/messages/Messages +lib/X11/xpaint/messages/Messages_fr +@dirrm lib/X11/xpaint/messages +@dirrm lib/X11/xpaint/help +@dirrm lib/X11/xpaint |