diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2010-02-23 04:43:45 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2010-02-23 04:43:45 +0800 |
commit | 9a5c5f2f9ce57bd8de807df0c096b56d89eb179e (patch) | |
tree | 89e883134052508287fa5b32d7a6b0663d176607 | |
parent | 9a642549211626cb90b3f435f0e853267f9f0ba5 (diff) | |
download | freebsd-ports-gnome-9a5c5f2f9ce57bd8de807df0c096b56d89eb179e.tar.gz freebsd-ports-gnome-9a5c5f2f9ce57bd8de807df0c096b56d89eb179e.tar.zst freebsd-ports-gnome-9a5c5f2f9ce57bd8de807df0c096b56d89eb179e.zip |
- Fix desktop entry ([1])
- Remove useless CONFIGURE_TARGET
- Add MAKE_JOBS_SAFE
- Beautify MASTER_SITES
Submitted by: makc ([1])
Feature safe: yes
-rw-r--r-- | games/enigma/Makefile | 11 |
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 |