9d505b5076
1.) Use "hashlib" instead of "sha" module if possible. 2.) Use "subprocess" module instead of os.popen3(). Both changes tested with Python 2.4 and 2.6. Pkgsrc-related improvements: 1.) Support "user-destdir" installation (no changes required). 2.) Set license to "gnu-gpl-v2". 3.) Reduce patches by recording the fact that the manual page gets compressed automatically (which "pkgsrc" handles fine) instead of trying to prevent that.
15 lines
325 B
Text
15 lines
325 B
Text
$NetBSD: patch-aa,v 1.2 2009/11/17 12:23:01 tron Exp $
|
|
|
|
--- Makefile 2008/07/31 09:38:52 1.1
|
|
+++ Makefile 2008/07/31 09:37:43
|
|
@@ -4,8 +4,8 @@
|
|
#
|
|
#
|
|
|
|
-BIN = $(DESTDIR)/usr/bin
|
|
-MAN = $(DESTDIR)/usr/share/man/man1
|
|
+BIN = $(DESTDIR)${PREFIX}/bin
|
|
+MAN = $(DESTDIR)${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
all: man-page
|
|
|