summaryrefslogtreecommitdiff
path: root/games/gnomermind/Makefile
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 /games/gnomermind/Makefile
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
Diffstat (limited to 'games/gnomermind/Makefile')
-rw-r--r--games/gnomermind/Makefile17
1 files changed, 12 insertions, 5 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>