pkgsrc/x11/xworld/patches/patch-aj
dholland 4d183607f3 Fix pkglint. Add patch comments. Do configuration SUBSTs at pre-configure
time, not post-patch, to reduce the chances of the results being rolled
unconditionally into patches.
2012-07-30 04:23:23 +00:00

18 lines
474 B
Text

$NetBSD: patch-aj,v 1.2 2012/07/30 04:23:23 dholland Exp $
- destdir support
- use pkgsrc install program
--- Makefile.in.orig 2009-02-23 19:29:15.000000000 +0100
+++ Makefile.in
@@ -28,8 +28,8 @@ xworld: $(ASTROOBJS) $(SPHEREOBJS) getmy
$(RM) xworld.tmp
install: xworld
- -$(MKDIR) $(BINDIR)
- $(INSTALL) -m 755 -g bin -o bin xworld $(BINDIR)
+ -$(MKDIR) ${DESTDIR}$(BINDIR)
+ ${BSD_INSTALL_PROGRAM} xworld ${DESTDIR}$(BINDIR)
deinstall:
$(RM) $(BINDIR)/xworld