mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Take this over as x11@ maintainership.
- Put .pc file in the right location. - Update pkg-descr for new website and description. - Fix up pkg-plist a little. - Use GNU_CONFIGURE and CONFIGURE_TARGET. - Rename to match naming scheme of other ports (and CVS)
This commit is contained in:
parent
4235997569
commit
102cbb3b7f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96400
@ -5,23 +5,27 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xrender
|
||||
PORTNAME= libXrender
|
||||
PORTVERSION= 0.8.3
|
||||
CATEGORIES= x11-toolkits
|
||||
MASTER_SITES= http://fontconfig.org/release/
|
||||
MASTER_SITES= http://pdx.freedesktop.org/~xlibs/release/
|
||||
DISTNAME= xrender-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= x11@FreeBSD.org
|
||||
COMMENT= XRender extension for XFree86
|
||||
|
||||
BUILD_DEPENDS= ${X11BASE}/lib/pkgconfig/render.pc:${PORTSDIR}/x11-toolkits/render
|
||||
LIB_PC_DEPENDS= ${X11BASE}/libdata/pkgconfig/ice.pc:${PORTSDIR}/x11/xextensions
|
||||
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig \
|
||||
${X11BASE}/libdata/pkgconfig/render.pc:${PORTSDIR}/x11-toolkits/render \
|
||||
${LIB_PC_DEPENDS}
|
||||
RUN_DEPENDS= ${LIB_PC_DEPENDS}
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
CONFIGURE_ARGS= --prefix=${X11BASE}
|
||||
CONFIGURE_ENV+= PKG_CONFIG_PATH=${X11BASE}/lib/pkgconfig
|
||||
PREFIX?= ${X11BASE}
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
USE_GMAKE= yes
|
||||
CFLAGS+= -DMALLOC_0_RETURNS_NULL
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC}; ./configure ${CONFIGURE_ARGS} ${CONFIGURE_ENV})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
x11-toolkits/xrender/files/patch-Makefile.in
Normal file
11
x11-toolkits/xrender/files/patch-Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Sun Dec 21 17:53:15 2003
|
||||
+++ Makefile.in Sun Dec 21 17:53:25 2003
|
||||
@@ -177,7 +177,7 @@
|
||||
libXrenderincludedir = $(includedir)/X11/extensions
|
||||
libXrenderinclude_HEADERS = Xrender.h
|
||||
|
||||
-pkgconfigdir = $(libdir)/pkgconfig
|
||||
+pkgconfigdir = $(prefix)/libdata/pkgconfig
|
||||
pkgconfig_DATA = xrender.pc
|
||||
|
||||
EXTRA_DIST = xrender.pc.in autogen.sh
|
@ -1,6 +1,3 @@
|
||||
This package contains X render library and server implementations for XFree86.
|
||||
|
||||
Keith Packard
|
||||
keithp@keithp.com
|
||||
|
||||
WWW: http://www.fontconfig.org
|
||||
WWW: http://www.freedesktop.org/Software/xlibs
|
||||
|
@ -3,8 +3,4 @@ lib/libXrender.a
|
||||
lib/libXrender.la
|
||||
lib/libXrender.so
|
||||
lib/libXrender.so.1
|
||||
lib/pkgconfig/xrender.pc
|
||||
@exec mkdir -p %D/lib/pkgconfig
|
||||
@exec mkdir -p %D/include/X11/extensions
|
||||
@unexec rmdir %D/include/X11/extensions 2>/dev/null || true
|
||||
@unexec rmdir %D/share/lib/pkgconfig 2>/dev/null || true
|
||||
libdata/pkgconfig/xrender.pc
|
||||
|
@ -5,23 +5,27 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xrender
|
||||
PORTNAME= libXrender
|
||||
PORTVERSION= 0.8.3
|
||||
CATEGORIES= x11-toolkits
|
||||
MASTER_SITES= http://fontconfig.org/release/
|
||||
MASTER_SITES= http://pdx.freedesktop.org/~xlibs/release/
|
||||
DISTNAME= xrender-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= x11@FreeBSD.org
|
||||
COMMENT= XRender extension for XFree86
|
||||
|
||||
BUILD_DEPENDS= ${X11BASE}/lib/pkgconfig/render.pc:${PORTSDIR}/x11-toolkits/render
|
||||
LIB_PC_DEPENDS= ${X11BASE}/libdata/pkgconfig/ice.pc:${PORTSDIR}/x11/xextensions
|
||||
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig \
|
||||
${X11BASE}/libdata/pkgconfig/render.pc:${PORTSDIR}/x11-toolkits/render \
|
||||
${LIB_PC_DEPENDS}
|
||||
RUN_DEPENDS= ${LIB_PC_DEPENDS}
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
CONFIGURE_ARGS= --prefix=${X11BASE}
|
||||
CONFIGURE_ENV+= PKG_CONFIG_PATH=${X11BASE}/lib/pkgconfig
|
||||
PREFIX?= ${X11BASE}
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
USE_GMAKE= yes
|
||||
CFLAGS+= -DMALLOC_0_RETURNS_NULL
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC}; ./configure ${CONFIGURE_ARGS} ${CONFIGURE_ENV})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
x11/libXrender/files/patch-Makefile.in
Normal file
11
x11/libXrender/files/patch-Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Sun Dec 21 17:53:15 2003
|
||||
+++ Makefile.in Sun Dec 21 17:53:25 2003
|
||||
@@ -177,7 +177,7 @@
|
||||
libXrenderincludedir = $(includedir)/X11/extensions
|
||||
libXrenderinclude_HEADERS = Xrender.h
|
||||
|
||||
-pkgconfigdir = $(libdir)/pkgconfig
|
||||
+pkgconfigdir = $(prefix)/libdata/pkgconfig
|
||||
pkgconfig_DATA = xrender.pc
|
||||
|
||||
EXTRA_DIST = xrender.pc.in autogen.sh
|
@ -1,6 +1,3 @@
|
||||
This package contains X render library and server implementations for XFree86.
|
||||
|
||||
Keith Packard
|
||||
keithp@keithp.com
|
||||
|
||||
WWW: http://www.fontconfig.org
|
||||
WWW: http://www.freedesktop.org/Software/xlibs
|
||||
|
@ -3,8 +3,4 @@ lib/libXrender.a
|
||||
lib/libXrender.la
|
||||
lib/libXrender.so
|
||||
lib/libXrender.so.1
|
||||
lib/pkgconfig/xrender.pc
|
||||
@exec mkdir -p %D/lib/pkgconfig
|
||||
@exec mkdir -p %D/include/X11/extensions
|
||||
@unexec rmdir %D/include/X11/extensions 2>/dev/null || true
|
||||
@unexec rmdir %D/share/lib/pkgconfig 2>/dev/null || true
|
||||
libdata/pkgconfig/xrender.pc
|
||||
|
Loading…
Reference in New Issue
Block a user