$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
