summaryrefslogtreecommitdiff
path: root/games/xjig
diff options
context:
space:
mode:
authorjmmv <jmmv>2005-06-14 18:07:47 +0000
committerjmmv <jmmv>2005-06-14 18:07:47 +0000
commit50e0b11ec4e5462b219a687ba240490ae712e1bb (patch)
tree55d3464c45c91b9ff8be4f8b2c9ae57f53d4896c /games/xjig
parentada957a1a443b7a8f51f3ef07c2c688b796bd1c7 (diff)
downloadpkgsrc-50e0b11ec4e5462b219a687ba240490ae712e1bb.tar.gz
Fix build under Linux: instead of hardcoding the manpage name as a build
target (man.0), use 'all' which works (at least) under NetBSD and Linux. (The problem is that the manpage suffix changes across systems.) While here, remove a directory emptied during deinstallation. Bump PKGREVISION to 2 due to this. This change together with recent rillig@'s fixes close PR pkg/29493.
Diffstat (limited to 'games/xjig')
-rw-r--r--games/xjig/Makefile8
-rw-r--r--games/xjig/PLIST3
2 files changed, 6 insertions, 5 deletions
diff --git a/games/xjig/Makefile b/games/xjig/Makefile
index 19c90308919..fa46cab1f66 100644
--- a/games/xjig/Makefile
+++ b/games/xjig/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2004/12/03 15:14:58 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2005/06/14 18:07:47 jmmv Exp $
#
DISTNAME= xjig-2.4
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=games/}
EXTRACT_SUFX= .tgz
@@ -11,10 +11,10 @@ MAINTAINER= tech-pkg@NetBSD.org
COMMENT= Jigsaw puzzle
USE_IMAKE= yes
-BUILD_TARGET= xjig xjig.0
-
USE_LANGUAGES= c c++
+BUILD_TARGET= xjig all
+
post-install:
${INSTALL_DATA_DIR} ${X11PREFIX}/lib/xjig
${INSTALL_DATA} ${WRKSRC}/tina.gif ${X11PREFIX}/lib/xjig
diff --git a/games/xjig/PLIST b/games/xjig/PLIST
index ff4cab9e5af..0aca00f7d05 100644
--- a/games/xjig/PLIST
+++ b/games/xjig/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2003/02/26 04:07:49 jschauma Exp $
+@comment $NetBSD: PLIST,v 1.3 2005/06/14 18:07:47 jmmv Exp $
bin/xjig
${IMAKE_MAN_DIR}/xjig.${IMAKE_MANNEWSUFFIX}
lib/xjig/tina.gif
+@dirrm lib/xjig