summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwennmach <wennmach>2004-02-05 22:19:45 +0000
committerwennmach <wennmach>2004-02-05 22:19:45 +0000
commita8b785397fa59c3d5e7a371f9f04f269dc466cfd (patch)
tree8f16088c97464293726bbc8781e4aa37e695e93d
parent510026c87f89e4d5d4a4f3e506b42390c2aa469d (diff)
downloadpkgsrc-a8b785397fa59c3d5e7a371f9f04f269dc466cfd.tar.gz
Fix: x11/xworld sets the owner and group of the command to "bin".
Patch submitted by Min Sik Kim in PR pkg/24325.
-rw-r--r--x11/xworld/Makefile31
1 files changed, 19 insertions, 12 deletions
diff --git a/x11/xworld/Makefile b/x11/xworld/Makefile
index c0f23e426f9..e31ddab8a7d 100644
--- a/x11/xworld/Makefile
+++ b/x11/xworld/Makefile
@@ -1,19 +1,26 @@
-# $NetBSD: Makefile,v 1.6 2002/08/25 21:53:04 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2004/02/05 22:19:45 wennmach Exp $
#
-DISTNAME= xworld-2.0
-CATEGORIES= x11
-MASTER_SITES= ftp://gutemine.geo.uni-koeln.de/pub/xworld/ \
- ftp://ftp.Uni-Koeln.DE/misc/
+DISTNAME= xworld-2.0
+PKGREVISION= 1
+CATEGORIES= x11
+MASTER_SITES= ftp://gutemine.geo.uni-koeln.de/pub/xworld/ \
+ ftp://ftp.Uni-Koeln.DE/misc/
-MAINTAINER= wennmach@geo.Uni-Koeln.DE
-COMMENT= Earth as seen from the direction of the sun
+MAINTAINER= wennmach@NetBSD.org
+COMMENT= Earth as seen from the direction of the sun
-USE_BUILDLINK2= yes
-HAS_CONFIGURE= yes
-USE_X11= yes
+USE_BUILDLINK2= yes
+HAS_CONFIGURE= yes
+USE_X11= yes
-CONFIGURE_ENV+= PREFIX="${PREFIX}"
-CONFIGURE_ENV+= LDLIBS="-lm ${LDFLAGS} -lX11"
+CONFIGURE_ENV+= PREFIX="${PREFIX}"
+CONFIGURE_ENV+= LDLIBS="-lm ${LDFLAGS} -lX11"
+
+SUBST_CLASSES+= install
+SUBST_MESSAGE.install= "Fixing install options."
+SUBST_STAGE.install= post-patch
+SUBST_FILES.install= Makefile.in
+SUBST_SED.install= -e 's,-g bin -o bin,-g ${BINGRP} -o ${BINOWN},g'
.include "../../mk/bsd.pkg.mk"