diff options
author | vs <vs@FreeBSD.org> | 2007-06-11 15:41:09 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2007-06-11 15:41:09 +0800 |
commit | 80b91a5503de3434774686ec000900ee95b8286d (patch) | |
tree | abe6776106a760e3dd5a50af745cbf3af8faadce /x11-toolkits | |
parent | 90ce32d5982d2e78c82911fa5ad82c28d9d5cea4 (diff) | |
download | freebsd-ports-gnome-80b91a5503de3434774686ec000900ee95b8286d.tar.gz freebsd-ports-gnome-80b91a5503de3434774686ec000900ee95b8286d.tar.zst freebsd-ports-gnome-80b91a5503de3434774686ec000900ee95b8286d.zip |
Remove outdated lang/ghc5 on upstream's request, devel/hs-popenhs which depends on it, and make x11-toolkits/hs-frantk use lang/hugs
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/hs-frantk/Makefile | 42 | ||||
-rw-r--r-- | x11-toolkits/hs-frantk/pkg-plist | 99 |
2 files changed, 0 insertions, 141 deletions
diff --git a/x11-toolkits/hs-frantk/Makefile b/x11-toolkits/hs-frantk/Makefile index ab52084b735c..67857597f050 100644 --- a/x11-toolkits/hs-frantk/Makefile +++ b/x11-toolkits/hs-frantk/Makefile @@ -17,65 +17,23 @@ MAINTAINER= haskell@FreeBSD.org COMMENT= A GUI library for Haskell on top of Tcl-Tk LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 -.if !defined(WITHOUT_GHC) -BUILD_DEPENDS= ghc-5.04.3:${PORTSDIR}/lang/ghc5 -RUN_DEPENDS= ghc-5.04.3:${PORTSDIR}/lang/ghc5 -.endif USE_GMAKE= yes WRKSRC= ${WRKDIR}/FranTk1.1/src -.if defined(WITH_HUGS) ALL_TARGET= hugs INSTALL_TARGET= install_hugs PLIST_SUB+= HUGS="" -.else -PLIST_SUB+= HUGS="@comment " -.endif - -.if !defined(WITHOUT_GHC) -ALL_TARGET+= all -INSTALL_TARGET+=install_ghc pkg -GHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version` -PLIST_SUB+= GHC="" GHC_VERSION="${GHC_VERSION}" -.else PLIST_SUB+= GHC="@comment " -.endif - -pre-fetch: - @${ECHO} "" -.if !defined(WITHOUT_GHC) && !defined(WITH_HUGS) - @${ECHO} " FranTk will be build and installed for ghc by default" - @${ECHO} " Define WITHOUT_GHC to build not for ghc" - @${ECHO} " Define WITH_HUGS to build for hugs" - @${ECHO} "" -.endif -.if defined(WITHOUT_GHC) && !defined(WITH_HUGS) - @${ECHO} " You have defined WITHOUT_GHC and you have not defined WITH_HUGS" - @${ECHO} " This means FranTk will not be installed" - @${ECHO} "" - @${FALSE} -.elif !defined(WITHOUT_GHC) - @${ECHO} " Building for ghc" -.endif -.if defined(WITH_HUGS) - @${ECHO} " Building for hugs" -.endif - @${ECHO} "" post-patch: @${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/frantk.conf post-install: -.if !defined(WITHOUT_GHC) - @${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old -.endif .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${CP} ${WRKDIR}/FranTk1.1/doc/frantk.pdf ${DOCSDIR} .endif -.if defined(WITH_HUGS) @${CAT} ${PKGMESSAGE} -.endif .include <bsd.port.mk> diff --git a/x11-toolkits/hs-frantk/pkg-plist b/x11-toolkits/hs-frantk/pkg-plist index 7a052639ff4d..2fea9114768d 100644 --- a/x11-toolkits/hs-frantk/pkg-plist +++ b/x11-toolkits/hs-frantk/pkg-plist @@ -66,108 +66,9 @@ %%HUGS%%lib/frantk/hugs/TclHaskellSrc/TrieIO.hs %%HUGS%%lib/frantk/hugs/TclHaskellSrc/Utils.hs %%HUGS%%lib/frantk/hugs/TclHaskellSrc/tclhaskell.o -%%GHC%%lib/frantk/HSFranTk.o -%%GHC%%lib/frantk/libHSFranTk.a -%%GHC%%lib/frantk/imports/AbstractInterface.hi -%%GHC%%lib/frantk/imports/BPrim.hi -%%GHC%%lib/frantk/imports/BVar.hi -%%GHC%%lib/frantk/imports/BVars.hi -%%GHC%%lib/frantk/imports/BaseTypes.hi -%%GHC%%lib/frantk/imports/Behavior.hi -%%GHC%%lib/frantk/imports/BehaviorIO.hi -%%GHC%%lib/frantk/imports/BehaviorTypes.hi -%%GHC%%lib/frantk/imports/CItem.hi -%%GHC%%lib/frantk/imports/CollectionB.hi -%%GHC%%lib/frantk/imports/CollectionBVar.hi -%%GHC%%lib/frantk/imports/ColorCore.hi -%%GHC%%lib/frantk/imports/ColorCoreB.hi -%%GHC%%lib/frantk/imports/Compatibility.hi -%%GHC%%lib/frantk/imports/Component.hi -%%GHC%%lib/frantk/imports/ComponentWidgets.hi -%%GHC%%lib/frantk/imports/ConcTcl.hi -%%GHC%%lib/frantk/imports/Conf.hi -%%GHC%%lib/frantk/imports/Delayed.hi -%%GHC%%lib/frantk/imports/DisplayCItem.hi -%%GHC%%lib/frantk/imports/DisplayPItem.hi -%%GHC%%lib/frantk/imports/DisplaySimple.hi -%%GHC%%lib/frantk/imports/DisplayWidget.hi -%%GHC%%lib/frantk/imports/Event.hi -%%GHC%%lib/frantk/imports/EventPrim.hi -%%GHC%%lib/frantk/imports/ExtArray.hi -%%GHC%%lib/frantk/imports/FM.hi -%%GHC%%lib/frantk/imports/FRPImpl.hi -%%GHC%%lib/frantk/imports/FRPWrap.hi -%%GHC%%lib/frantk/imports/Force.hi -%%GHC%%lib/frantk/imports/FranCore.hi -%%GHC%%lib/frantk/imports/FranPrim.hi -%%GHC%%lib/frantk/imports/FranTime.hi -%%GHC%%lib/frantk/imports/FranTk.hi -%%GHC%%lib/frantk/imports/FranTkConc.hi -%%GHC%%lib/frantk/imports/GFRP.hi -%%GHC%%lib/frantk/imports/GUI.hi -%%GHC%%lib/frantk/imports/GUIDef.hi -%%GHC%%lib/frantk/imports/Group.hi -%%GHC%%lib/frantk/imports/HasInput.hi -%%GHC%%lib/frantk/imports/Identify.hi -%%GHC%%lib/frantk/imports/ListB.hi -%%GHC%%lib/frantk/imports/Listener.hi -%%GHC%%lib/frantk/imports/ListenerOps.hi -%%GHC%%lib/frantk/imports/ListenerPrim.hi -%%GHC%%lib/frantk/imports/MItem.hi -%%GHC%%lib/frantk/imports/MapG.hi -%%GHC%%lib/frantk/imports/MutSet.hi -%%GHC%%lib/frantk/imports/PileArray.hi -%%GHC%%lib/frantk/imports/PlacePos.hi -%%GHC%%lib/frantk/imports/Point2.hi -%%GHC%%lib/frantk/imports/Point2B.hi -%%GHC%%lib/frantk/imports/Point3.hi -%%GHC%%lib/frantk/imports/Point3B.hi -%%GHC%%lib/frantk/imports/PrimWidget.hi -%%GHC%%lib/frantk/imports/Rect.hi -%%GHC%%lib/frantk/imports/RectB.hi -%%GHC%%lib/frantk/imports/RectInfo.hi -%%GHC%%lib/frantk/imports/Remover.hi -%%GHC%%lib/frantk/imports/SetB.hi -%%GHC%%lib/frantk/imports/StaticTypes.hi -%%GHC%%lib/frantk/imports/TclCompatibility.hi -%%GHC%%lib/frantk/imports/TclGUI.hi -%%GHC%%lib/frantk/imports/TclPrim.hi -%%GHC%%lib/frantk/imports/TclPrimCore.hi -%%GHC%%lib/frantk/imports/TclPrimImpl.hi -%%GHC%%lib/frantk/imports/TclPrimWidgets.hi -%%GHC%%lib/frantk/imports/TclTime.hi -%%GHC%%lib/frantk/imports/TclTrie.hi -%%GHC%%lib/frantk/imports/TermE.hi -%%GHC%%lib/frantk/imports/Transform2.hi -%%GHC%%lib/frantk/imports/Transform2B.hi -%%GHC%%lib/frantk/imports/Transform3.hi -%%GHC%%lib/frantk/imports/Transform3B.hi -%%GHC%%lib/frantk/imports/TreeIO.hi -%%GHC%%lib/frantk/imports/TrieIO.hi -%%GHC%%lib/frantk/imports/Utils.hi -%%GHC%%lib/frantk/imports/Vector2.hi -%%GHC%%lib/frantk/imports/Vector2B.hi -%%GHC%%lib/frantk/imports/Vector3.hi -%%GHC%%lib/frantk/imports/Vector3B.hi -%%GHC%%lib/frantk/imports/VectorSpace.hi -%%GHC%%lib/frantk/imports/VectorSpaceB.hi -%%GHC%%lib/frantk/imports/WH.hi -%%GHC%%lib/frantk/imports/Widget.hi -%%GHC%%lib/frantk/imports/WidgetConf.hi -%%GHC%%lib/frantk/imports/WidgetExports.hi -%%GHC%%lib/frantk/imports/WidgetSet.hi -%%GHC%%lib/frantk/imports/WidgetSetImpl.hi -%%GHC%%lib/frantk/imports/Widgets.hi -%%GHC%%lib/frantk/imports/WirePrim.hi -%%GHC%%lib/frantk/imports/WorkPool.hi %%PORTDOCS%%share/doc/frantk/frantk.pdf %%PORTDOCS%%@dirrm share/doc/frantk %%HUGS%%@dirrm lib/frantk/hugs/FranTkSrc %%HUGS%%@dirrm lib/frantk/hugs/TclHaskellSrc %%HUGS%%@dirrm lib/frantk/hugs -%%GHC%%@dirrm lib/frantk/imports -%%GHC%%@dirrm lib/frantk %%HUGS%%@dirrmtry lib/frantk -%%GHC%%@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old -%%GHC%%@unexec ghc-pkg -r FranTk -%%GHC%%@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old |