diff options
author | anholt <anholt@FreeBSD.org> | 2003-12-22 10:04:46 +0800 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2003-12-22 10:04:46 +0800 |
commit | b56c509b4c5d0c63b3d6d439c6e011ca7cb29d15 (patch) | |
tree | 678eebd40bf89ef852e5e2ba749f9739cef6c293 /x11/libXrender | |
parent | 6ce8a46b65799cab4c654ff59a54736c2d2d9631 (diff) | |
download | freebsd-ports-gnome-b56c509b4c5d0c63b3d6d439c6e011ca7cb29d15.tar.gz freebsd-ports-gnome-b56c509b4c5d0c63b3d6d439c6e011ca7cb29d15.tar.zst freebsd-ports-gnome-b56c509b4c5d0c63b3d6d439c6e011ca7cb29d15.zip |
- 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)
Diffstat (limited to 'x11/libXrender')
-rw-r--r-- | x11/libXrender/Makefile | 24 | ||||
-rw-r--r-- | x11/libXrender/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | x11/libXrender/pkg-descr | 5 | ||||
-rw-r--r-- | x11/libXrender/pkg-plist | 6 |
4 files changed, 27 insertions, 19 deletions
diff --git a/x11/libXrender/Makefile b/x11/libXrender/Makefile index 0fdfea6d0194..d0d3ed314400 100644 --- a/x11/libXrender/Makefile +++ b/x11/libXrender/Makefile @@ -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> diff --git a/x11/libXrender/files/patch-Makefile.in b/x11/libXrender/files/patch-Makefile.in new file mode 100644 index 000000000000..2aed38de6726 --- /dev/null +++ b/x11/libXrender/files/patch-Makefile.in @@ -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 diff --git a/x11/libXrender/pkg-descr b/x11/libXrender/pkg-descr index c88a3692cc68..67a5c227ff04 100644 --- a/x11/libXrender/pkg-descr +++ b/x11/libXrender/pkg-descr @@ -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 diff --git a/x11/libXrender/pkg-plist b/x11/libXrender/pkg-plist index 2eef54f8a603..08f3673bf8de 100644 --- a/x11/libXrender/pkg-plist +++ b/x11/libXrender/pkg-plist @@ -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 |