mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
0d2725682b
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# New ports collection makefile for: yape
|
|
# Date created: 31.10.2002
|
|
# Whom: Janos.Mohacsi@bsd.hu
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= yape
|
|
PORTVERSION= 0.32.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://yape.homeserver.hu/download/
|
|
DISTNAME= ${PORTNAME}SDL-${PORTVERSION}
|
|
|
|
MAINTAINER= janos.mohacsi@bsd.hu
|
|
COMMENT= Yet Another Commodore +4 Emulator
|
|
|
|
USE_SDL= sdl
|
|
USE_GMAKE= yes
|
|
NO_WRKSUBDIR= yes
|
|
ALL_TARGET= yape
|
|
|
|
PLIST_FILES= bin/yape
|
|
PORTDOCS= *
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 503001
|
|
IGNORE= Build only in 5.3 or uppper (Need fmax(3) and fmin(3) function)
|
|
.endif
|
|
|
|
post-extract:
|
|
@${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|cpp|h|txt)" -print0 | \
|
|
${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//'
|
|
@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' ${WRKSRC}/Makefile
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|" ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/yape ${PREFIX}/bin
|
|
|
|
post-install:
|
|
.ifndef(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.SDL ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|