openbsd-ports/mbone/imm/Makefile
2000-04-06 14:31:01 +00:00

46 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2000/04/06 14:31:01 kevlo Exp $
DISTNAME= imm.source
PKGNAME= imm-3.5a1
CATEGORIES= mbone
NEED_VERSION= 1.230
MASTER_SITES= ftp://ftp.hawaii.edu/paccom/imm-3.5a1/
EXTRACT_SUFX= .tar.Z
MAINTAINER= angelos@openbsd.org
PERMIT_PACKAGE_CDROM= "no commercial use"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "no commercial use"
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= tcl80.1.5::lang/tcl/8.0 \
tk80.1.5::x11/tk/8.0
USE_X11= Yes
FAKE= Yes
WRKDIST= ${WRKDIR}/mnm
post-extract:
${INSTALL_DATA_DIR} ${WRKSRC}/openbsd
@cp ${FILESDIR}/Makefile.work ${WRKSRC}/Makefile
@cp ${FILESDIR}/Makefile.openbsd ${WRKSRC}/src
# The included makefile doesn't have an "install" target.
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/openbsd/imm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/openbsd/immserv ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/openbsd/lscomp ${PREFIX}/bin
# and no man pages at all yet.
# But include the very limited documentation
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/imm
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/imm
${INSTALL_DATA} ${WRKSRC}/imm_readme.txt ${PREFIX}/share/doc/imm
.endif
# The sdr plugin is pretty much required.
${INSTALL_DATA} ${WRKSRC}/sdr2.plugin.S53.image.imm ${PREFIX}/share/doc/imm
.include <bsd.port.mk>