mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43: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)
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# New ports collection makefile for: gens
|
|
# Date created: 22 Jun 2005
|
|
# Whom: Travis Poppe <tlp@liquidx.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gens
|
|
PORTVERSION= 2.12a
|
|
PORTREVISION= 2
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= Gens212a1SrcL
|
|
|
|
MAINTAINER= tlp@liquidx.org
|
|
COMMENT= Sega Genesis/CD/32X emulator
|
|
|
|
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_linux/${PORTNAME}
|
|
USE_ZIP= yes
|
|
USE_SDL= sdl
|
|
USE_GNOME= gtk20
|
|
USE_GMAKE= yes
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile
|
|
${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/Makefile
|
|
${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/Makefile
|
|
${REINPLACE_CMD} -e 's|%%LDFLAGS%%|${LDFLAGS}|' ${WRKSRC}/Makefile
|
|
@${CAT} ${FILESDIR}/gens.in | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' > ${WRKDIR}/gens
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/share/gens
|
|
${MKDIR} ${PREFIX}/share/gens/resource
|
|
${INSTALL_SCRIPT} ${WRKDIR}/gens ${PREFIX}/bin/gens
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gens ${PREFIX}/share/gens/gens
|
|
${INSTALL_DATA} ${WRKSRC}/resource/* ${PREFIX}/share/gens/resource
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_linux/README ${DOCSDIR}/README
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|