60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
63 lines
1.7 KiB
Makefile
63 lines
1.7 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= frodo
|
|
PORTVERSION= 4.1b
|
|
PORTREVISION= 10
|
|
CATEGORIES= emulators tk
|
|
MASTER_SITES= http://frodo.cebix.net/downloads/
|
|
DISTNAME= FrodoV4_1b.Src
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= Emulates a Commodore 64
|
|
|
|
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
|
|
|
|
USE_XORG= x11 xt xext sm ice
|
|
ALL_TARGET= Frodo
|
|
INSTALL_WRKSRC= ${WRKDIR}/Frodo-4.1b
|
|
WRKSRC= ${INSTALL_WRKSRC}/Src
|
|
GNU_CONFIGURE= yes
|
|
|
|
ROM= 1541 Basic Char Kernal
|
|
|
|
OPTIONS_DEFINE= SDL DOCS
|
|
OPTIONS_DEFAULT=SDL
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSDL}
|
|
USE_SDL= sdl
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
|
|
${INSTALL_WRKSRC}/TkGui.tcl
|
|
.if ${PORT_OPTIONS:MSDL}
|
|
${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|g" \
|
|
${WRKSRC}/configure
|
|
.endif
|
|
|
|
do-install:
|
|
${SED} -e 's=\$${PREFIX}=${PREFIX}=g' \
|
|
< ${FILESDIR}/frodo > ${WRKDIR}/frodo
|
|
${INSTALL_SCRIPT} ${WRKDIR}/frodo ${STAGEDIR}${PREFIX}/bin/
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/frodo
|
|
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/Frodo ${STAGEDIR}${PREFIX}/libexec/frodo/
|
|
.for i in ${ROM}
|
|
${INSTALL_DATA} "${INSTALL_WRKSRC}/${i} ROM" ${STAGEDIR}${PREFIX}/libexec/frodo/
|
|
.endfor
|
|
${INSTALL_DATA} "${INSTALL_WRKSRC}/Frodo Logo" ${STAGEDIR}${PREFIX}/libexec/frodo/
|
|
${INSTALL_SCRIPT} "${INSTALL_WRKSRC}/TkGui.tcl" ${STAGEDIR}${PREFIX}/libexec/frodo/
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/frodo/64prgs
|
|
${TAR} -C ${INSTALL_WRKSRC}/64prgs -cf - . | \
|
|
${TAR} -C ${STAGEDIR}${PREFIX}/libexec/frodo/64prgs -xf -
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${INSTALL_WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}/
|
|
${TAR} -C ${INSTALL_WRKSRC}/Docs -cf - . | \
|
|
${TAR} -C ${STAGEDIR}${DOCSDIR} -xf -
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|