2001-10-31 11:35:48 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2001/10/31 16:35:48 wilfried Exp $
|
2001-04-02 11:11:46 -04:00
|
|
|
|
|
|
|
COMMENT= 'Text Editor for FLTK'
|
|
|
|
|
2001-10-26 19:36:17 -04:00
|
|
|
DISTNAME= fl_editor-0.4.3
|
|
|
|
PKGNAME= fleditor-0.4.3
|
2001-04-02 11:11:46 -04:00
|
|
|
CATEGORIES= x11
|
2001-10-25 18:34:48 -04:00
|
|
|
NEED_VERSION= 1.482
|
2001-04-02 11:11:46 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.robertk.com/source/
|
|
|
|
|
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-08-29 03:44:47 -04:00
|
|
|
MASTER_SITES= http://www.robertk.com/source/fl_editor/
|
2001-04-02 11:11:46 -04:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2001-04-17 15:02:39 -04:00
|
|
|
LIB_DEPENDS= fltk.::x11/fltk
|
2001-04-02 11:11:46 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
2001-10-25 18:34:48 -04:00
|
|
|
REGRESS_TARGET= test
|
2001-04-02 11:11:46 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
2001-04-15 06:32:06 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--with-fltk=${LOCALBASE}
|
2001-04-02 11:11:46 -04:00
|
|
|
|
2001-08-29 03:44:47 -04:00
|
|
|
WRKDIST= ${WRKDIR}/fl_editor
|
|
|
|
|
2001-10-25 18:34:48 -04:00
|
|
|
# This regression test wants an X11 display
|
|
|
|
REGRESS_FLAGS+= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
|
|
|
|
REGRESS_IS_INTERACTIVE= Yes
|
|
|
|
|
2001-04-02 11:11:46 -04:00
|
|
|
post-patch:
|
|
|
|
@rmdir ${WRKSRC}/obj
|
|
|
|
|
|
|
|
do-install:
|
2001-09-07 12:35:51 -04:00
|
|
|
@${install_shared_frag}
|
2001-04-02 11:11:46 -04:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/libfleditor.a ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/FL
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/FL/*.[Hh] ${PREFIX}/include/FL
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2001-09-07 12:18:28 -04:00
|
|
|
|
|
|
|
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes"
|
2001-09-07 12:35:51 -04:00
|
|
|
install_shared_frag= :
|
2001-09-07 12:18:28 -04:00
|
|
|
.else
|
2001-09-07 12:35:51 -04:00
|
|
|
install_shared_frag=\
|
2001-09-07 12:18:28 -04:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/libfleditor.so* ${PREFIX}/lib
|
|
|
|
.endif
|
|
|
|
|