diff options
author | hira <hira@pkgsrc.org> | 2005-03-30 20:29:19 +0000 |
---|---|---|
committer | hira <hira@pkgsrc.org> | 2005-03-30 20:29:19 +0000 |
commit | d0313d46833b3d3f9192f194ffdb2889f8480a9e (patch) | |
tree | 49f90d188a78c62415d7a49fe1abeac457788279 /x11/xorg-libs/Makefile | |
parent | 7555b9f1e3d514569d123dd562ded202d978bd61 (diff) | |
download | pkgsrc-d0313d46833b3d3f9192f194ffdb2889f8480a9e.tar.gz |
Unify PLIST. OK'd by xtraeme@.
Diffstat (limited to 'x11/xorg-libs/Makefile')
-rw-r--r-- | x11/xorg-libs/Makefile | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/x11/xorg-libs/Makefile b/x11/xorg-libs/Makefile index cd001377d99..80931cc5ce9 100644 --- a/x11/xorg-libs/Makefile +++ b/x11/xorg-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2005/03/23 22:44:00 xtraeme Exp $ +# $NetBSD: Makefile,v 1.18 2005/03/30 20:29:19 hira Exp $ DISTNAME= ${DISTFILES} PKGNAME= xorg-libs-${XORG_VER} @@ -15,6 +15,17 @@ BUILD_DEPENDS= xorg-imake>=${XORG_VER}:../../x11/xorg-imake .include "../../mk/bsd.prefs.mk" +PLIST_SRC= ${WRKDIR}/.PLIST_SRC +XORG_PLIST_ENTRY= ${OPSYS} +.if ${OPSYS} == "NetBSD" +. if !empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64) +XORG_PLIST_ENTRY+= NetBSD-i386 +. endif +.endif +.if ${OPSYS} != "Darwin" +XORG_PLIST_ENTRY+= i18n +.endif + .include "../../meta-pkgs/xorg/Makefile.common" .if ${X11ROOT} == ${LOCALBASE} @@ -39,8 +50,9 @@ SUBST_FILES.mkstrs= config/cf/Library.tmpl SUBST_SED.mkstrs= -e 's,@MAKESTRS@,${X11ROOT}/bin/makestrs,g' SUBST_MESSAGE.mkstrs= "Fixing path of makestrs." -.if ${OPSYS} == "Linux" post-install: + @${SED} ${XORG_PLIST_SED} ${PKGDIR}/PLIST > ${PLIST_SRC} +.if ${OPSYS} == "Linux" @${LDCONFIG} ${X11ROOT}/lib || ${TRUE} .endif @@ -55,20 +67,6 @@ pre-install: ${INSTALL_DATA} ${WRKSRC}/${f} ${X11BASE}/lib/pkgconfig/${f} .endfor -.if ${OPSYS} == "NetBSD" -. if !empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Mx86_64) -PLIST_SRC+= ${.CURDIR}/PLIST.${OPSYS} -PLIST_SRC+= ${.CURDIR}/PLIST.${OPSYS}.i386 -. endif -.else -PLIST_SRC+= ${.CURDIR}/PLIST.${OPSYS} -.endif -PLIST_SRC+= ${.CURDIR}/PLIST.common -.if ${OPSYS} != "Darwin" -PLIST_SRC+= ${.CURDIR}/PLIST.common_i18n -.endif -PLIST_SRC+= ${.CURDIR}/PLIST.common_end - .include "../../fonts/fontconfig/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../textproc/expat/buildlink3.mk" |