2003-01-02 09:02:49 +01:00
|
|
|
# New ports collection makefile for: stella
|
|
|
|
# Date created: March 4, 1999
|
|
|
|
# Whom: Jacques Vidrine <nectar@FreeBSD.org>
|
1997-07-31 09:19:46 +02:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1997-07-31 09:19:46 +02:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:56:17 +02:00
|
|
|
PORTNAME= stella
|
2009-11-10 20:42:42 +01:00
|
|
|
PORTVERSION= 3.0
|
1997-07-31 09:19:46 +02:00
|
|
|
CATEGORIES= emulators
|
2006-12-29 18:03:21 +01:00
|
|
|
MASTER_SITES= SF
|
2000-04-12 06:56:17 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
1997-07-31 09:19:46 +02:00
|
|
|
|
2006-12-29 18:03:21 +01:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2003-02-20 18:24:13 +01:00
|
|
|
COMMENT= A multi-platform Atari 2600 VCS emulator
|
1997-07-31 09:19:46 +02:00
|
|
|
|
2003-09-24 15:55:05 +02:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
|
|
|
|
2003-01-13 15:29:56 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
1999-04-07 17:52:58 +02:00
|
|
|
|
2004-07-20 17:25:23 +02:00
|
|
|
USE_SDL= sdl
|
2003-01-02 09:02:49 +01:00
|
|
|
USE_GMAKE= yes
|
2005-10-20 22:42:31 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
1997-07-31 09:19:46 +02:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
2005-10-20 22:42:31 +02:00
|
|
|
|
|
|
|
post-patch:
|
2006-04-12 20:13:29 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|=sdl-config|="$$SDL_CONFIG"|g' ${WRKSRC}/configure
|
1997-07-31 09:19:46 +02:00
|
|
|
|
|
|
|
do-install:
|
2005-10-20 22:42:31 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/stella ${PREFIX}/bin
|
2003-09-24 15:55:05 +02:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/emucore/stella.pro ${DATADIR}
|
1997-07-31 09:19:46 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-09-24 15:55:05 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/docs && ${FIND} . | \
|
2004-01-22 13:18:43 +01:00
|
|
|
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
1997-07-31 09:19:46 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|