openbsd-ports/mbone/sdr/Makefile

39 lines
1007 B
Makefile

# $OpenBSD: Makefile,v 1.20 2002/12/23 00:37:51 pvalchev 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
LIB_DEPENDS= tcl80.1.5::lang/tcl/8.0 \
tk80.1.5::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>