summaryrefslogtreecommitdiff
path: root/x11/XaoS/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/XaoS/Makefile')
-rw-r--r--x11/XaoS/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/XaoS/Makefile b/x11/XaoS/Makefile
index 143ff5c97ae..bf553e8fa56 100644
--- a/x11/XaoS/Makefile
+++ b/x11/XaoS/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2004/07/14 21:06:57 ben Exp $
+# $NetBSD: Makefile,v 1.10 2004/08/15 04:13:18 minskim Exp $
#
DISTNAME= XaoS-3.1
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xaos/}
@@ -12,6 +13,7 @@ COMMENT= Zoomable fractal rendering doodad
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
USE_GNU_TOOLS= make
+USE_PKGLOCALEDIR= YES
USE_X11= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-curses-driver=no
@@ -19,6 +21,12 @@ CONFIGURE_ARGS+= --with-curses-driver=no
CONFIGURE_ARGS+= --with-dga-driver=no
INFO_FILES= xaos.info
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= "Fixing hardcoded paths."
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= configure
+SUBST_SED.paths= -e 's,/usr/share/locale,${PREFIX}/${PKGLOCALEDIR}/locale,g'
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"