[csw-devel] SF.net SVN: gar:[15016] csw/mgar/pkg/djbdns/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Sat Jul 9 11:32:13 CEST 2011


Revision: 15016
          http://gar.svn.sourceforge.net/gar/?rev=15016&view=rev
Author:   dmichelsen
Date:     2011-07-09 09:32:13 +0000 (Sat, 09 Jul 2011)

Log Message:
-----------
djbdns: Cleanup, add manpages

Modified Paths:
--------------
    csw/mgar/pkg/djbdns/trunk/Makefile
    csw/mgar/pkg/djbdns/trunk/checksums

Removed Paths:
-------------
    csw/mgar/pkg/djbdns/trunk/files/CSWdjbdns.gspec

Modified: csw/mgar/pkg/djbdns/trunk/Makefile
===================================================================
--- csw/mgar/pkg/djbdns/trunk/Makefile	2011-07-09 07:34:06 UTC (rev 15015)
+++ csw/mgar/pkg/djbdns/trunk/Makefile	2011-07-09 09:32:13 UTC (rev 15016)
@@ -2,7 +2,7 @@
 VERSION = 1.05
 CATEGORIES = apps
 
-DESCRIPTION = retrieve and publish Domain Name System information
+DESCRIPTION = Retrieve and publish Domain Name System information
 define BLURB
 djbdns is a collection of Domain Name System tools.  It includes several
 components:
@@ -31,16 +31,19 @@
 and is not required if your secondary is a BIND DNS server.
 endef
 
-MASTER_SITES = http://cr.yp.to/djbdns/
-DISTFILES  = $(NAME)-$(VERSION).tar.gz
-DISTFILES += $(call admfiles,CSWdjbdns,)
+MASTER_SITES += http://cr.yp.to/djbdns/
+MASTER_SITES += http://smarden.org/pape/djb/manpages/
+DISTFILES += $(DISTNAME).tar.gz
+#DISTFILES += doc.tar.gz
+DISTFILES += $(DISTNAME)-man.tar.gz
 
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+VENDOR_URL = http://cr.yp.to/djbdns.html
+LICENSE = README
 
-CONFIGURE_ARGS = $(DIRPATHS)
 FILES = axfr-get axfrdns axfrdns-conf dnscache dnscache-conf dnsfilter dnsip dnsipq dnsmx dnsname dnsq dnsqr dnstrace dnstracesort dnstxt pickdns pickdns-conf pickdns-data random-ip rbldns rbldns-conf rbldns-data tinydns tinydns-conf tinydns-data tinydns-edit tinydns-get walldns walldns-conf
 
+GARCOMPILER = GNU
+
 CONFIGURE_SCRIPTS = custom
 BUILD_SCRIPTS = custom
 TEST_SCRIPTS = custom
@@ -52,18 +55,25 @@
 
 configure-custom:
 	@echo "==> Configuring $(NAME)"
-	@cd $(WORKSRC)/ && sed "s|/usr/local|$(prefix)|g" < conf-home > conf-home.csw && mv conf-home.csw conf-home
+	@echo $(prefix) >$(WORKSRC)/conf-home
+	@echo $(CC) $(CFLAGS) >$(WORKSRC)/conf-cc
 	@$(MAKECOOKIE)
 
 build-custom:
 	@echo "==> building $(NAME)"
-	@cd $(WORKSRC) && PATH=/opt/csw/gnu:/opt/csw/gcc3/bin/:/usr/bin/:$PATH && export PATH && make
+	cd $(WORKSRC) && gmake
 	@$(MAKECOOKIE)
 
 install-custom:
 	@echo "==> installing $(NAME)"
 	@echo "==> to $(DESTDIR)$(prefix)/bin"
-	@rm -rf   $(DESTDIR)$(prefix)
-	@mkdir -p $(DESTDIR)$(prefix)/bin
-	@ginstall -m 755 $(foreach FILE, $(FILES), $(WORKSRC)/$(FILE)) $(DESTDIR)$(prefix)/bin 
+	rm -rf   $(DESTDIR)$(prefix)
+	mkdir -p $(DESTDIR)$(prefix)/bin
+	ginstall -m 755 $(addprefix $(WORKSRC)/,$(FILES)) $(DESTDIR)$(prefix)/bin 
+	mkdir -p $(DESTDIR)$(mandir)/man1
+	ginstall -m 644 $(WORKDIR)/djbdns-man/*.1 $(DESTDIR)$(mandir)/man1
+	mkdir -p $(DESTDIR)$(mandir)/man5
+	ginstall -m 644 $(WORKDIR)/djbdns-man/*.5 $(DESTDIR)$(mandir)/man5
+	mkdir -p $(DESTDIR)$(mandir)/man8
+	ginstall -m 644 $(WORKDIR)/djbdns-man/*.8 $(DESTDIR)$(mandir)/man8
 	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/djbdns/trunk/checksums
===================================================================
--- csw/mgar/pkg/djbdns/trunk/checksums	2011-07-09 07:34:06 UTC (rev 15015)
+++ csw/mgar/pkg/djbdns/trunk/checksums	2011-07-09 09:32:13 UTC (rev 15016)
@@ -1,2 +1,2 @@
-3147c5cd56832aa3b41955c7a51cbeb2  download/djbdns-1.05.tar.gz
-913166e653d2c5f026e8a0eccffb39bb  download/CSWdjbdns.gspec
+14d7329cff69f604fac607436eb8485e  djbdns-1.05-man.tar.gz
+3147c5cd56832aa3b41955c7a51cbeb2  djbdns-1.05.tar.gz

Deleted: csw/mgar/pkg/djbdns/trunk/files/CSWdjbdns.gspec
===================================================================
--- csw/mgar/pkg/djbdns/trunk/files/CSWdjbdns.gspec	2011-07-09 07:34:06 UTC (rev 15015)
+++ csw/mgar/pkg/djbdns/trunk/files/CSWdjbdns.gspec	2011-07-09 09:32:13 UTC (rev 15016)
@@ -1,5 +0,0 @@
-%var            bitname djbdns
-%var            pkgname CSWdjbdns
-%var            hotline http://www.opencsw.org/bugtrack
-%include        url file://%{PKGLIB}/csw_dyndepend.gspec
-%copyright      


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list