aboutsummaryrefslogtreecommitdiff
path: root/x11/xcolorsel/Makefile
diff options
context:
space:
mode:
authorMark Pulford <markp@FreeBSD.org>2001-06-13 15:52:17 +0000
committerMark Pulford <markp@FreeBSD.org>2001-06-13 15:52:17 +0000
commitb66f9785cabb7e89ca672d38cfc5f3f8f0a8d12a (patch)
tree2bfbce3c2669956e7ff1302a12316574d0a25702 /x11/xcolorsel/Makefile
parentd773aa63105eec4d5dc982a9080935d150a49733 (diff)
downloadports-b66f9785cabb7e89ca672d38cfc5f3f8f0a8d12a.tar.gz
ports-b66f9785cabb7e89ca672d38cfc5f3f8f0a8d12a.zip
Notes
Diffstat (limited to 'x11/xcolorsel/Makefile')
-rw-r--r--x11/xcolorsel/Makefile26
1 files changed, 15 insertions, 11 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>