diff options
author | wiz <wiz@pkgsrc.org> | 2015-08-17 08:15:40 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-08-17 08:15:40 +0000 |
commit | 2171568b5ee1f0ff3f0a4be031010f6421cfb431 (patch) | |
tree | 4f8594adce8ea89fb7416d07dcfcdd848964f7d0 /pkgtools/xpkgwedge/Makefile | |
parent | f48c1a4a68819a94bc0541ab132c22634e3c0dcd (diff) | |
download | pkgsrc-2171568b5ee1f0ff3f0a4be031010f6421cfb431.tar.gz |
Remove xpkgwedge, not needed any longer.
Diffstat (limited to 'pkgtools/xpkgwedge/Makefile')
-rw-r--r-- | pkgtools/xpkgwedge/Makefile | 110 |
1 files changed, 0 insertions, 110 deletions
diff --git a/pkgtools/xpkgwedge/Makefile b/pkgtools/xpkgwedge/Makefile deleted file mode 100644 index 25cf6477b3b..00000000000 --- a/pkgtools/xpkgwedge/Makefile +++ /dev/null @@ -1,110 +0,0 @@ -# $NetBSD: Makefile,v 1.83 2014/10/09 14:06:51 wiz Exp $ - -PKGNAME= xpkgwedge-1.17 -CATEGORIES= pkgtools devel x11 - -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html -COMMENT= Allows X11 pkgs to be built and used outside of $${X11BASE} -LICENSE= original-bsd - -WRKSRC= ${WRKDIR} -USE_LANGUAGES= # empty -NO_BUILD= yes -NO_CONFIGURE= yes - -.include "../../mk/bsd.prefs.mk" - -USE_TOOLS+= imake:run xmkmf:run - -.if ${LOCALBASE} == ${X11BASE} -PKG_FAIL_REASON+= "xpkgwedge is not needed when X11BASE is LOCALBASE" -.endif - -.if exists(${X11BASE}/bin/mkfontscale) -CONFLICTS+= mkfontscale-[0-9]* -.endif - -INSTALLATION_DIRS= bin lib/X11/config - -# FONT_PROGS are symlinked from ${X11BASE}/bin to ${PREFIX}/bin to allow -# ${PREFIX}/bin/${prog} to always work. -# -FONT_PROGS= bdftopcf fstobdf mkfontdir mkfontscale - -FILES_SUBST+= VIEWBASE=${VIEWBASE} -FILES_SUBST+= FONT_PROGS=${FONT_PROGS:Q} -FILES_SUBST+= MAKE=${IMAKE_MAKE:Q} -USE_TOOLS+= ${IMAKE_TOOLS} - -PLIST_VARS+= Darwin IRIX IRIX5 IRIX6 - -.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*) -APPLY_DARWIN_PATCH= ${TRUE} -PLIST.Darwin= yes -USE_TOOLS+= patch -.else -APPLY_DARWIN_PATCH= ${FALSE} -.endif - -.if ${OPSYS} == "IRIX" -PLIST.IRIX= yes -USE_TOOLS+= patch -. if !empty(OS_VERSION:M6*) -PLIST.IRIX6= yes -. else -PLIST.IRIX5= yes -. endif -.endif - -.include "../../mk/x11.buildlink3.mk" - -SUBST_CLASSES+= paths -SUBST_FILES.paths= ${WRKDIR}/pkgxmkmf -SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g' -SUBST_SED.paths+= -e 's,@X11BASE@,${X11BASE},g' -SUBST_SED.paths+= -e 's,@VIEWBASE@,${VIEWBASE},g' -SUBST_SED.paths+= -e 's,@MAKE@,${IMAKE_MAKE},g' -SUBST_STAGE.paths= post-patch - -post-extract: - @${CP} ${FILESDIR}/xpkgwedge.def ${WRKSRC} - @${CP} ${FILESDIR}/pkgxmkmf.in ${WRKDIR}/pkgxmkmf - -.if defined(X11_TYPE) && !empty(X11_TYPE:Mxorg) -X11TYPEFLAGS?= -L${X11BASE}/lib ${COMPILER_RPATH_FLAG}${X11BASE}/lib -SUBST_CLASSES+= fix -SUBST_STAGE.fix= post-patch -SUBST_FILES.fix= xpkgwedge.def -SUBST_SED.fix= -e "s|@X11TYPEFLAGS@|${X11TYPEFLAGS}|" -.else # X11_TYPE == xorg. -SUBST_CLASSES+= foo -SUBST_STAGE.foo= post-patch -SUBST_FILES.foo= xpkgwedge.def -SUBST_SED.foo= -e "s|\#define ExtraLoadFlags @X11TYPEFLAGS@||" -.endif # X11_TYPE == native. - -do-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/X11/config - ${INSTALL_DATA} ${WRKSRC}/xpkgwedge.def ${DESTDIR}${PREFIX}/lib/X11/config - ${INSTALL_SCRIPT} ${WRKSRC}/pkgxmkmf ${DESTDIR}${PREFIX}/bin/pkgxmkmf - @case ${OPSYS} in \ - Darwin) \ - if ${APPLY_DARWIN_PATCH}; then \ - ${INSTALL_DATA} ${X11BASE}/lib/X11/config/darwin.cf ${DESTDIR}${PREFIX}/lib/X11/config; \ - cd ${DESTDIR}${PREFIX}/lib/X11/config && patch ${PATCH_STRIP} < ${FILESDIR}/darwin.cf.patch; \ - fi; \ - ;; \ - IRIX) \ - ${INSTALL_DATA} ${X11BASE}/lib/X11/config/sgi.cf ${DESTDIR}${PREFIX}/lib/X11/config; \ - if [ ${OS_VERSION} -ge 6 ]; then \ - ${INSTALL_DATA} ${X11BASE}/lib/X11/config/X11.rules ${DESTDIR}${PREFIX}/lib/X11/config; \ - cd ${DESTDIR}${PREFIX}/lib/X11/config && patch ${PATCH_STRIP} < ${FILESDIR}/irix6.patch; \ - else \ - ${INSTALL_DATA} ${X11BASE}/lib/X11/config/sgiLib.rules ${DESTDIR}${PREFIX}/lib/X11/config; \ - cd ${DESTDIR}${PREFIX}/lib/X11/config && patch ${PATCH_STRIP} < ${FILESDIR}/irix5.patch; \ - fi; \ - ;; \ - esac - -.include "../../mk/bsd.pkg.mk" |