a813079932
Thoroughly unsubtle, most mkdir -p should probably be INSTALL* at *install stage, and echo/ECHO_MSG is somewhat unsorted. It's quite possible I missed a few automated changes...
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.7 2000/02/11 01:10:07 espie Exp $
|
|
|
|
DISTNAME= imm.source
|
|
PKGNAME= imm-3.5a1
|
|
CATEGORIES= mbone
|
|
MASTER_SITES= ftp://ftp.hawaii.edu/paccom/imm-3.5a1/
|
|
EXTRACT_SUFX= .tar.Z
|
|
NEED_VERSION= 1.191
|
|
|
|
MAINTAINER= angelos@openbsd.org
|
|
|
|
LIB_DEPENDS= tcl80.1.5:${PORTSDIR}/lang/tcl80 \
|
|
tk80.1.5:${PORTSDIR}/x11/tk80
|
|
|
|
USE_X11= yes
|
|
|
|
WRKDIST= ${WRKDIR}/mnm
|
|
|
|
post-extract:
|
|
@mkdir -p ${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
|
|
@mkdir -p ${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>
|