diff options
author | Mark Pulford <markp@FreeBSD.org> | 2001-06-13 15:52:17 +0000 |
---|---|---|
committer | Mark Pulford <markp@FreeBSD.org> | 2001-06-13 15:52:17 +0000 |
commit | b66f9785cabb7e89ca672d38cfc5f3f8f0a8d12a (patch) | |
tree | 2bfbce3c2669956e7ff1302a12316574d0a25702 /x11/xcolorsel | |
parent | d773aa63105eec4d5dc982a9080935d150a49733 (diff) |
Unbroke port.
Maintainer change ports -> kkonstan@daemon.fr
Extra testing: Konstantinos Konstantinidis <kkonstan@duth.gr>
Notes
Notes:
svn path=/head/; revision=43947
Diffstat (limited to 'x11/xcolorsel')
-rw-r--r-- | x11/xcolorsel/Makefile | 26 | ||||
-rw-r--r-- | x11/xcolorsel/files/patch-aa | 25 | ||||
-rw-r--r-- | x11/xcolorsel/pkg-plist | 1 |
3 files changed, 15 insertions, 37 deletions
diff --git a/x11/xcolorsel/Makefile b/x11/xcolorsel/Makefile index c766aa17b6ab..edba17c054f3 100644 --- a/x11/xcolorsel/Makefile +++ b/x11/xcolorsel/Makefile @@ -5,23 +5,27 @@ # $FreeBSD$ # -PORTNAME= xcolorsel -PORTVERSION= 1.1a -CATEGORIES= x11 -MASTER_SITES= ${MASTER_SITE_XCONTRIB} +PORTNAME= xcolorsel +PORTVERSION= 1.1a +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_XCONTRIB} MASTER_SITE_SUBDIR= utilities -DISTNAME= ${PKGNAME}-src +DISTNAME= ${PKGNAME}-src -MAINTAINER= ports@FreeBSD.org +MAINTAINER= kkonstan@daemon.gr -BROKEN= This port is broken and needs a new maintainer +LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d WRKSRC= $(WRKDIR)/xcolorsel - -MANCOMPRESSED= yes USE_IMAKE= yes +USE_XPM= yes +MAN1= xcolorsel.1 -PATCH_STRIP= -p1 -PATCH_DEBUG= true +post-patch: + ${ECHO} "*.file: ${X11BASE}/lib/X11/rgb.txt" >> ${WRKSRC}/Xcolorsel.ad + ${PERL} -pi -e "s|#include <malloc.h>||g; s|/Xaw/|/Xaw3d/|g;" \ + ${WRKSRC}/*.[ch] + ${PERL} -pi -e "s|app2head|./app2head|g; \ + s|XawClientLibs|-lXaw3d \\$$\(XMULIBONLY\) \\$$\(XTOOLLIB\) \\$$\(XPMLIB) \\$$\(XLIB\)|g" ${WRKSRC}/Imakefile .include <bsd.port.mk> diff --git a/x11/xcolorsel/files/patch-aa b/x11/xcolorsel/files/patch-aa deleted file mode 100644 index 80ae58596468..000000000000 --- a/x11/xcolorsel/files/patch-aa +++ /dev/null @@ -1,25 +0,0 @@ -diff -ruN ./Imakefile ../xcolorsel/Imakefile ---- ./Imakefile Wed Dec 14 05:31:19 1994 -+++ ../xcolorsel/Imakefile Sat Dec 12 00:52:04 1998 -@@ -82,9 +82,9 @@ - DependTarget() - - appdef-c.h: Xcolorsel-color.ad -- app2head Xcolorsel-color.ad > appdef-c.h -+ ./app2head Xcolorsel-color.ad > appdef-c.h - appdef.h: Xcolorsel.ad -- app2head Xcolorsel.ad > appdef.h -+ ./app2head Xcolorsel.ad > appdef.h - purge: - $(RM) xcolorsel *.o appdef.h appdef-c.h Xcolorsel.help *.tar.Z Makefile Makefile.bak makefile *.tar *.tar.gz - Xcolorsel.help: xcolorsel.man -diff -ruN ./Xcolorsel.ad ../xcolorsel/Xcolorsel.ad ---- ./Xcolorsel.ad Mon Nov 14 07:08:36 1994 -+++ ../xcolorsel/Xcolorsel.ad Sat Dec 12 00:52:04 1998 -@@ -71,3 +71,6 @@ - - ! You can set an explicit helpfile location here ("" switches this off) - !*.helpFile: "" -+ -+! Set the location of the rgb.txt file for FreeBSD -+*.file: /usr/X11R6/lib/X11/rgb.txt diff --git a/x11/xcolorsel/pkg-plist b/x11/xcolorsel/pkg-plist index b907df9599e1..2ac4f3b8b492 100644 --- a/x11/xcolorsel/pkg-plist +++ b/x11/xcolorsel/pkg-plist @@ -2,5 +2,4 @@ bin/xcolorsel lib/X11/app-defaults/Xcolorsel lib/X11/app-defaults/Xcolorsel-color lib/X11/xcolorsel/Xcolorsel.help -man/man1/xcolorsel.1.gz @dirrm lib/X11/xcolorsel |