2013-06-29 00:51:40 +02:00
|
|
|
# Created by: Wayne Cuddy <wayne@crb-web.com>
|
1999-08-31 04:51:23 +02:00
|
|
|
# $FreeBSD$
|
1998-12-11 17:02:40 +01:00
|
|
|
|
2001-06-13 17:52:17 +02:00
|
|
|
PORTNAME= xcolorsel
|
|
|
|
PORTVERSION= 1.1a
|
2010-12-13 18:24:00 +01:00
|
|
|
PORTREVISION= 2
|
2001-06-13 17:52:17 +02:00
|
|
|
CATEGORIES= x11
|
2014-11-24 21:25:39 +01:00
|
|
|
MASTER_SITES= XCONTRIB/utilities
|
2007-05-19 22:36:56 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
1998-12-11 17:02:40 +01:00
|
|
|
|
2002-11-18 04:06:10 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= X utility to translate rgb values into X color names
|
2001-04-25 18:22:43 +02:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2014-11-24 21:25:39 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/01-COPYING
|
|
|
|
|
2016-04-01 16:33:55 +02:00
|
|
|
LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d
|
|
|
|
RUN_DEPENDS= rgb>=1.0.3:x11/rgb
|
1998-12-11 17:02:40 +01:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
WRKSRC= ${WRKDIR}/xcolorsel
|
2013-06-29 00:51:40 +02:00
|
|
|
USES= imake
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= xpm
|
2010-12-13 18:24:00 +01:00
|
|
|
|
2001-06-13 17:52:17 +02:00
|
|
|
post-patch:
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
@${ECHO_CMD} "*.file: ${LOCALBASE}/lib/X11/rgb.txt" >> ${WRKSRC}/Xcolorsel.ad
|
2003-07-06 12:14:34 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|#include <malloc.h>||g' \
|
|
|
|
-e 's|/Xaw/|/Xaw3d/|g' ${WRKSRC}/*.[ch]
|
|
|
|
@${REINPLACE_CMD} -e 's|app2head|./app2head|g' \
|
|
|
|
-e 's|XawClientLibs|-lXaw3d $$(XMULIBONLY) $$(XTOOLLIB) $$(XPMLIB) $$(XLIB)|g' ${WRKSRC}/Imakefile
|
1998-12-11 17:02:40 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|