1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

add flu 2.13

A small collection of FLTK Widgets
This commit is contained in:
Ying-Chieh Liao 2004-08-23 07:40:41 +00:00
parent 06e114aa39
commit 6a3c1f6ab2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117100
4 changed files with 61 additions and 0 deletions

View File

@ -17,6 +17,7 @@
SUBDIR += erlgtk
SUBDIR += fl_editor
SUBDIR += fltk
SUBDIR += flu
SUBDIR += flvw
SUBDIR += fox
SUBDIR += fox-devel

55
x11-toolkits/flu/Makefile Normal file
View File

@ -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 <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (FLU_2.13.tar.gz) = 78de7fdae6b3d773783f7f37f47dd1dd
SIZE (FLU_2.13.tar.gz) = 623023

View File

@ -0,0 +1,3 @@
A small collection of FLTK Widget.
WWW: http://www.osc.edu/~jbryan/FLU/