3e4ed01146
- 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)
33 lines
903 B
Makefile
33 lines
903 B
Makefile
# New ports collection makefile for: xcolorsel
|
|
# Date Created: 11 November 1998
|
|
# Whom: Wayne Cuddy <wayne@crb-web.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xcolorsel
|
|
PORTVERSION= 1.1a
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
|
MASTER_SITE_SUBDIR= utilities
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= X utility to translate rgb values into X color names
|
|
|
|
LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
|
|
|
|
WRKSRC= ${WRKDIR}/xcolorsel
|
|
USE_IMAKE= yes
|
|
USE_XORG= xpm
|
|
MAN1= xcolorsel.1
|
|
|
|
post-patch:
|
|
@${ECHO_CMD} "*.file: ${LOCALBASE}/lib/X11/rgb.txt" >> ${WRKSRC}/Xcolorsel.ad
|
|
@${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
|
|
|
|
.include <bsd.port.mk>
|