Update to 0.2.

- Replace patches with "standard Gnome regexs" ;)
- fetch distfiles from MASTER_SITE_SOURCEFORGE;
- Remove redundant USE_GMAKE.
This commit is contained in:
Maxim Sobolev 2000-07-31 16:01:26 +00:00
parent 066346d0b4
commit 3995aa0944
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31173
4 changed files with 20 additions and 9 deletions

View file

@ -6,12 +6,10 @@
#
PORTNAME= gnomememoryblocks
PORTVERSION= 0.1
PORTVERSION= 0.2
CATEGORIES= games gnome
# This should be ${MASTER_SITE_SOURCEFORGE} but doesn't appear to be
# linked in the right places at the moment
MASTER_SITES= http://gnome-memblocks.sourceforge.net/downloads/ \
ftp://gnome-memblocks.sourceforge.net/pub/gnome-memblocks/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnome-memblocks
DISTNAME= gnome-memblocks-${PORTVERSION}
MAINTAINER= ade@FreeBSD.org
@ -23,13 +21,20 @@ RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
--datadir=${PREFIX}/share/gnome
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTK_CONFIG="${GTK_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
post-extract:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
.include <bsd.port.mk>

View file

@ -1 +1 @@
MD5 (gnome-memblocks-0.1.tar.gz) = 8218b1943ba790f095cadcda88e16182
MD5 (gnome-memblocks-0.2.tar.gz) = 9ab7805e6c178f80a5388527dc4a533b

View file

@ -1,4 +1,4 @@
This is GNOME's version of the `memory blocks' game
originaly come from Semantec game pack for Win-3.11
This is GNOME's version of the `memory blocks' game originaly come from
Semantec game pack for Win-3.11
WWW: http://gnome-memblocks.sourceforge.net/

View file

@ -1,9 +1,12 @@
bin/gnome-memblocks
etc/sound/events/gnome-memblocks.soundlist
lib/gnome-memblocks/libscaling.so
lib/gnome-memblocks/libsliding.so
share/gnome/apps/Games/gnome-memblocks.desktop
share/gnome/games/gnome-memblocks.default.scores
share/gnome/help/gnome-memblocks/C/index.html
share/gnome/help/gnome-memblocks/C/topic.dat
share/gnome/pixmaps/gnome-memblocks-logo.png
share/gnome/pixmaps/gnome-memblocks.png
share/gnome/pixmaps/gnome-memblocks/default/1.png
share/gnome/pixmaps/gnome-memblocks/default/10.png
@ -31,8 +34,11 @@ share/gnome/sounds/gnome-memblocks/flip04.wav
share/gnome/sounds/gnome-memblocks/flip05.wav
share/gnome/sounds/gnome-memblocks/flip06.wav
share/gnome/sounds/gnome-memblocks/flip07.wav
share/locale/it/LC_MESSAGES/gnome-memblocks.mo
share/locale/pt_BR/LC_MESSAGES/gnome-memblocks.mo
@dirrm share/gnome/sounds/gnome-memblocks
@dirrm share/gnome/pixmaps/gnome-memblocks/default
@dirrm share/gnome/pixmaps/gnome-memblocks
@dirrm share/gnome/help/gnome-memblocks/C
@dirrm share/gnome/help/gnome-memblocks
@dirrm lib/gnome-memblocks