mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
9676d2cfc3
PR: 15843 Submitted by: maintainer
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# New ports collection makefile for: frodo
|
|
# Version required: 4.1
|
|
# Date created: 11 Dez 1997
|
|
# Whom: dirk.meyer@dinoex.sub.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= FrodoV4_1a.Src
|
|
PKGNAME= frodo-4.1
|
|
CATEGORIES= emulators tk82
|
|
MASTER_SITES= ftp://sunsite.unc.edu/pub/micro/commodore/crossplatform/emulators/unix/
|
|
|
|
MAINTAINER= dirk.meyer@dinoex.sub.org
|
|
|
|
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
|
|
|
|
USE_X_PREFIX= YES
|
|
ALL_TARGET= Frodo
|
|
WRKSRC= ${WRKDIR}/Frodo/Src
|
|
|
|
ROM= 1541 Basic Char Kernal
|
|
|
|
do-configure:
|
|
@(cd ${WRKSRC}; ${SH} ./configure)
|
|
|
|
do-install:
|
|
${SED} -e 's=\$${PREFIX}=${PREFIX}=g' \
|
|
< ${FILESDIR}/frodo > ${WRKDIR}/frodo
|
|
${INSTALL_SCRIPT} ${WRKDIR}/frodo ${PREFIX}/bin
|
|
${MKDIR} ${PREFIX}/libexec/frodo
|
|
${INSTALL_PROGRAM} ${WRKDIR}/Frodo/Frodo ${PREFIX}/libexec/frodo
|
|
.for i in ${ROM}
|
|
${INSTALL_DATA} "${WRKDIR}/Frodo/${i} ROM" ${PREFIX}/libexec/frodo
|
|
.endfor
|
|
${INSTALL_DATA} "${WRKDIR}/Frodo/Frodo Logo" ${PREFIX}/libexec/frodo
|
|
${CP} "${WRKDIR}/Frodo/TkGui.tcl" ${PREFIX}/libexec/frodo
|
|
${MKDIR} ${PREFIX}/libexec/frodo/64prgs
|
|
@cd ${WRKDIR}/Frodo/64prgs; tar cf - . | (cd ${PREFIX}/libexec/frodo/64prgs; tar xf -)
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/frodo
|
|
.for i in CHANGES
|
|
${INSTALL_DATA} ${WRKDIR}/Frodo/${i} ${PREFIX}/share/doc/frodo
|
|
.endfor
|
|
@cd ${WRKDIR}/Frodo/Docs; tar cf - . | (cd ${PREFIX}/share/doc/frodo; tar xf -)
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|