freebsd-ports/x11-toolkits/fl_editor/Makefile
SADA Kenji 932703eb65 mastersite has moved.
PR:	ports/37101
Submitted by:	maintainer
2002-05-17 21:11:49 +00:00

61 lines
1.6 KiB
Makefile

# New ports collection makefile for: fl_editor
# Date created: 17 August 2001
# Whom: Cyrille Lefevre <clefevre@citeweb.net>
#
# $FreeBSD$
#
PORTNAME= fl_editor
PORTVERSION= 0.4
CATEGORIES= x11-toolkits
MASTER_SITES= http://www.mysql.com/Downloads/%SUBDIR%/ \
ftp://mysql.nixc.net/pub/mysql/Downloads/%SUBDIR%/ \
ftp://sunsite.dk/ftp/mirrors/mysql/Downloads/%SUBDIR%/ \
ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/%SUBDIR%/
MASTER_SITE_SUBDIR= mysqlgui
MAINTAINER= cyrille.lefevre@laposte.net
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --enable-shared --with-fltk=${PREFIX}
USE_GMAKE= yes
INSTALLS_SHLIB= yes
DOC_FILES= documentation/*.html documentation/*.jpg
DOC_SUBDIR= share/doc/${PKGBASE}
INC1_FILES= Fl_Editor.H Fl_FancyEditor.H Fl_FancyMultiEditor.H \
Fl_MultiEditor.H Fl_ProgressBox.H Fl_StatusPanel.H
INC2_FILES= editengine.h editvars.h lists.h stringsup.h wstring.h
INC_SUBDIR= include/FL
LIB_FILES= libfleditor.so.1
LIB_SUBDIR= lib
post-install: symlink-inc symlink-lib install-doc
symlink-inc:
.for file in ${INC1_FILES}
@${LN} -fs ${file} ${PREFIX}/${INC_SUBDIR}/${file:R}.${file:E:L}
.endfor
.for file in ${INC2_FILES}
@${LN} -fs ${file} ${PREFIX}/${INC_SUBDIR}/${file:R}.${file:E:U}
.endfor
symlink-lib:
.for file in ${LIB_FILES}
@${LN} -fs ${file} ${PREFIX}/${LIB_SUBDIR}/${file:R}
.endfor
install-doc:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/${DOC_SUBDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/${DOC_SUBDIR}
.endfor
.endif
.include <bsd.port.mk>