summaryrefslogtreecommitdiff
path: root/chat/smirk/Makefile
diff options
context:
space:
mode:
authorbjs <bjs>2008-06-30 22:23:34 +0000
committerbjs <bjs>2008-06-30 22:23:34 +0000
commitd4c880f133d831cc6b2608b4598138402ef7a5af (patch)
tree44458f0d888cee62e4ce8d7f839473e055d5b2f2 /chat/smirk/Makefile
parent3cca12385ac1d9f7beec90270719cc1f388e2330 (diff)
downloadpkgsrc-d4c880f133d831cc6b2608b4598138402ef7a5af.tar.gz
- Handle ncurses dependency properly, eliminating unintentional inclusion
of mk/curses.b3.mk after devel/ncurses/b3.mk. - Define DATADIR correctly so that it knows where to look for help files. - Remove quotes around DOCS_PATH in snprintf() call so that smirk can actually open the help files. - Bump PKGREVISION.
Diffstat (limited to 'chat/smirk/Makefile')
-rw-r--r--chat/smirk/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/chat/smirk/Makefile b/chat/smirk/Makefile
index 4db9ce2dba9..8e11be9d9ca 100644
--- a/chat/smirk/Makefile
+++ b/chat/smirk/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2008/04/21 15:09:07 bjs Exp $
+# $NetBSD: Makefile,v 1.4 2008/06/30 22:23:34 bjs Exp $
#
DISTNAME= smirk-20080111
+PKGREVISION= 1
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
@@ -13,11 +14,13 @@ COMMENT= Revival of the curses-based Rhapsody IRC client
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
-USE_NCURSES= yes
+CONFIGURE_ARGS+= --datadir=${DATADIR:Q}
+
USE_TOOLS+= gmake
+USE_NCURSES= yes
-BUILDLINK_TRANSFORM+= l:curses:ncurses
-HELP_DIR= ${PREFIX}/share/${PKGBASE}
+DATADIR= ${PREFIX}/share/${PKGBASE}
+HELP_DIR= ${DATADIR}/help
HELP_FILES= clientcmnds.hlp irccmnds.hlp keys.hlp
do-install:
@@ -29,5 +32,4 @@ do-install:
.endfor
.include "../../devel/ncurses/buildlink3.mk"
-.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"