summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2010-02-22 20:43:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2010-02-22 20:43:45 +0000
commita9360f2811eca48bcfb336e1f292bec723602dfc (patch)
treed13635a8d56f6f5bb514c05ca72438c7b6349d99 /games
parent- Don't register desktop entries twice (diff)
- Fix desktop entry ([1])
- Remove useless CONFIGURE_TARGET - Add MAKE_JOBS_SAFE - Beautify MASTER_SITES Submitted by: makc ([1]) Feature safe: yes
Notes
Notes: svn path=/head/; revision=250191
Diffstat (limited to 'games')
-rw-r--r--games/enigma/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/games/enigma/Makefile b/games/enigma/Makefile
index e1390f011960..6c3828c47907 100644
--- a/games/enigma/Makefile
+++ b/games/enigma/Makefile
@@ -7,10 +7,9 @@
PORTNAME= enigma
PORTVERSION= 1.01
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_BERLIOS}
-MASTER_SITE_SUBDIR= enigma-game
+MASTER_SITES= BERLIOS/enigma-game
DISTNAME= ${PORTNAME}-${PORTVERSION}-64bit
MAINTAINER= amdmi3@FreeBSD.org
@@ -28,9 +27,9 @@ USE_SDL= image mixer sdl ttf
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-cxxlua \
--with-libintl-prefix="${LOCALBASE}"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${LUA_LIBDIR}" \
CPPFLAGS="-I${LOCALBASE}/include -I${LUA_INCDIR}"
+MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -52,8 +51,10 @@ post-extract:
@${RM} -rf ${WRKSRC}/lib-src/lua ${WRKSRC}/lib-src/zipios++ \
${WRKSRC}/lib-src/enet ${WRKSRC}/tools ${WRKSRC}/intl
-.if defined(NOPORTDOCS)
post-patch:
+ @${REINPLACE_CMD} -e '/Exec=/s,enigma,${PREFIX}/bin/enigma,g' \
+ ${WRKSRC}/etc/enigma.desktop
+.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -E -e '/install-data-am/ s,install-(doc|index)DATA,,g' \
${WRKSRC}/Makefile.in ${WRKSRC}/doc/Makefile.in
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|=.*|=|' ${WRKSRC}/doc/Makefile.in