40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.22 2005/03/08 07:57:51 alek Exp $
|
|
|
|
COMMENT= "MBone Session Directory"
|
|
|
|
DISTNAME= sdr-2.7e
|
|
CATEGORIES= mbone
|
|
|
|
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/sdr/2.7e/
|
|
|
|
# License: BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c z X11 m
|
|
|
|
LIB_DEPENDS= tcl80.1.5:tcl-8.0.*:lang/tcl/8.0 \
|
|
tk80.1.5:tk-8.0.*:x11/tk/8.0
|
|
|
|
USE_X11= Yes
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE=simple
|
|
NO_REGRESS= Yes
|
|
|
|
# src/libs.tcl is autogenerated from the tcl/tk installed on the
|
|
# build system, so we shouldn't use the one in the distribution.
|
|
# Makefile.work and configure help to work with the sdr multi-platform
|
|
# build structure.
|
|
post-extract:
|
|
@rm -f ${WRKSRC}/src/libs.tcl
|
|
@cp ${FILESDIR}/Makefile.work ${WRKSRC}/Makefile
|
|
@cp ${FILESDIR}/configure ${WRKSRC}
|
|
@cp ${FILESDIR}/image_directory.xbm ${WRKSRC}/sdr/src/
|
|
@${CHMOD} 755 ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sdr/freebsd/sdr ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|