summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 06:03:47 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 06:03:47 +0000
commitb111302f448717dbf26e086420c90e15257e34a3 (patch)
treef4a1802cf34c0f2921498961f9fcd0709b4760cd
parentUpdate port: games/madbomber (diff)
Update port: games/gnomermind to 1.0.1
- Update to version 1.0.1 PR: ports/56526 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=88737
-rw-r--r--games/gnomermind/Makefile17
-rw-r--r--games/gnomermind/distinfo2
-rw-r--r--games/gnomermind/files/patch-Makefile.in14
-rw-r--r--games/gnomermind/pkg-plist15
4 files changed, 20 insertions, 28 deletions
diff --git a/games/gnomermind/Makefile b/games/gnomermind/Makefile
index 2d41effadc07..029ff92cdb81 100644
--- a/games/gnomermind/Makefile
+++ b/games/gnomermind/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnomermind
-PORTVERSION= 1.0
+PORTVERSION= 1.0.1
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,14 +16,21 @@ COMMENT= A puzzle game for Gnome, loosely based on the classic MasterMind game
USE_BZIP2= yes
USE_X_PREFIX= yes
-USE_GNOME= gnomeprefix gnomehack gnomelibs gdkpixbuf
+USE_GNOME= gdkpixbuf gnomehack gnomelibs gnomeprefix
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ENV= OLD_PO_FILE_INPUT=1
post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|^Info|#Info|g' ${WRKSRC}/Makefile.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in AUTHORS ChangeLog HACKING NEWS README TODO
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
diff --git a/games/gnomermind/distinfo b/games/gnomermind/distinfo
index ae2a8b398e8d..d8a488e6687d 100644
--- a/games/gnomermind/distinfo
+++ b/games/gnomermind/distinfo
@@ -1 +1 @@
-MD5 (gnomermind-1.0.tar.bz2) = 1790cc6ffebd8ee2d4bd4d402d65a54f
+MD5 (gnomermind-1.0.1.tar.bz2) = 474efe5186b41679c57a1034c93d2ae3
diff --git a/games/gnomermind/files/patch-Makefile.in b/games/gnomermind/files/patch-Makefile.in
deleted file mode 100644
index e2e1b4499632..000000000000
--- a/games/gnomermind/files/patch-Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- Makefile.in 2001/04/11 12:39:24 1.1
-+++ Makefile.in 2001/04/11 12:39:59
-@@ -116,7 +116,7 @@
- EXTRA_DIST = gnomermind.desktop.in gnomermind.spec.in TODO README AUTHORS NEWS ChangeLog COPYING HACKING xml-i18n-extract.in xml-i18n-merge.in xml-i18n-update.in
-
-
--Infosdir = $(datadir)/doc/gnomermind
-+Infosdir = $(datadir)/gnomermind/doc
- Infos_DATA = TODO README AUTHORS NEWS ChangeLog COPYING HACKING
-
-
diff --git a/games/gnomermind/pkg-plist b/games/gnomermind/pkg-plist
index 9b45a52769ce..2e96711fd4e3 100644
--- a/games/gnomermind/pkg-plist
+++ b/games/gnomermind/pkg-plist
@@ -1,12 +1,11 @@
bin/gnomermind
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/HACKING
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
share/gnome/apps/Games/gnomermind.desktop
-share/gnome/gnomermind/doc/AUTHORS
-share/gnome/gnomermind/doc/COPYING
-share/gnome/gnomermind/doc/ChangeLog
-share/gnome/gnomermind/doc/HACKING
-share/gnome/gnomermind/doc/NEWS
-share/gnome/gnomermind/doc/README
-share/gnome/gnomermind/doc/TODO
share/gnome/gnomermind/themes/Classic/ABOUT
share/gnome/gnomermind/themes/Classic/b.png
share/gnome/gnomermind/themes/Classic/bl.png
@@ -202,5 +201,5 @@ share/locale/zh_TW/LC_MESSAGES/gnomermind.mo
@dirrm share/gnome/gnomermind/themes/Pingus
@dirrm share/gnome/gnomermind/themes/Classic
@dirrm share/gnome/gnomermind/themes
-@dirrm share/gnome/gnomermind/doc
@dirrm share/gnome/gnomermind
+%%PORTDOCS%%@dirrm %%DOCSDIR%%