From 6a3c1f6ab24300a9c0f96a015ab825fdc422a870 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 23 Aug 2004 07:40:41 +0000 Subject: [PATCH] add flu 2.13 A small collection of FLTK Widgets --- x11-toolkits/Makefile | 1 + x11-toolkits/flu/Makefile | 55 ++++++++++++++++++++++++++++++++++++++ x11-toolkits/flu/distinfo | 2 ++ x11-toolkits/flu/pkg-descr | 3 +++ 4 files changed, 61 insertions(+) create mode 100644 x11-toolkits/flu/Makefile create mode 100644 x11-toolkits/flu/distinfo create mode 100644 x11-toolkits/flu/pkg-descr diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 4302f3f25c1c..adba081f0fb7 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -17,6 +17,7 @@ SUBDIR += erlgtk SUBDIR += fl_editor SUBDIR += fltk + SUBDIR += flu SUBDIR += flvw SUBDIR += fox SUBDIR += fox-devel diff --git a/x11-toolkits/flu/Makefile b/x11-toolkits/flu/Makefile new file mode 100644 index 000000000000..9569572e738c --- /dev/null +++ b/x11-toolkits/flu/Makefile @@ -0,0 +1,55 @@ +# ex:ts=8 +# Ports collection makefile for: flu +# Date created: Aug 23, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= flu +PORTVERSION= 2.13 +CATEGORIES= x11-toolkits +MASTER_SITES= http://www.osc.edu/~jbryan/FLU/ +DISTNAME= ${PORTNAME:U}_${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org +COMMENT= A small collection of FLTK Widgets + +LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk + +USE_X_PREFIX= yes +USE_GL= yes +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} --I=${X11BASE}/include --L=${X11BASE}/lib +USE_GMAKE= yes +INSTALLS_SHLIB= yes + +PLIST_FILES= bin/flu-config lib/libflu.so.${PORTVERSION} \ + lib/libflu_gl.so.${PORTVERSION} + +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif + +post-install: + ${LN} -fs ${PREFIX}/lib/libflu.so.${PORTVERSION} ${PREFIX}/lib/libflu.so.2 + ${LN} -fs ${PREFIX}/lib/libflu_gl.so.${PORTVERSION} ${PREFIX}/lib/libflu_gl.so.2 + @${FIND} ${PREFIX}/include/FLU ! -type d | \ + ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} + @${FIND} ${PREFIX}/include/FLU -type d | ${SORT} -r | \ + ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST} + @${ECHO_CMD} "@exec ln -fs %D/lib/libflu.so.${PORTVERSION} %D/lib/libflu.so.2" >> ${TMPPLIST} + @${ECHO_CMD} "@exec ln -fs %D/lib/libflu_gl.so.${PORTVERSION} %D/lib/libflu.so.2" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec rm -f %D/lib/libflu.so.2 %D/lib/libflu_gl.so.2 2>/dev/null || true" >> ${TMPPLIST} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR} + @${MKDIR} ${EXAMPLESDIR} + ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR} + @${FIND} ${EXAMPLESDIR} ! -type d | \ + ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} + @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \ + ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST} +.endif + +.include diff --git a/x11-toolkits/flu/distinfo b/x11-toolkits/flu/distinfo new file mode 100644 index 000000000000..31caa4010a3b --- /dev/null +++ b/x11-toolkits/flu/distinfo @@ -0,0 +1,2 @@ +MD5 (FLU_2.13.tar.gz) = 78de7fdae6b3d773783f7f37f47dd1dd +SIZE (FLU_2.13.tar.gz) = 623023 diff --git a/x11-toolkits/flu/pkg-descr b/x11-toolkits/flu/pkg-descr new file mode 100644 index 000000000000..04d0ca0e6986 --- /dev/null +++ b/x11-toolkits/flu/pkg-descr @@ -0,0 +1,3 @@ +A small collection of FLTK Widget. + +WWW: http://www.osc.edu/~jbryan/FLU/