[csw-devel] SF.net SVN: gar:[18354] csw/mgar/pkg/imap-c-client/trunk/Makefile

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Tue Jun 12 05:00:37 CEST 2012


Revision: 18354
          http://gar.svn.sourceforge.net/gar/?rev=18354&view=rev
Author:   bdwalton
Date:     2012-06-12 03:00:36 +0000 (Tue, 12 Jun 2012)
Log Message:
-----------
imap-c-client/trunk: streamline the versioning variables

Modified Paths:
--------------
    csw/mgar/pkg/imap-c-client/trunk/Makefile

Modified: csw/mgar/pkg/imap-c-client/trunk/Makefile
===================================================================
--- csw/mgar/pkg/imap-c-client/trunk/Makefile	2012-06-12 02:41:19 UTC (rev 18353)
+++ csw/mgar/pkg/imap-c-client/trunk/Makefile	2012-06-12 03:00:36 UTC (rev 18354)
@@ -1,8 +1,5 @@
 NAME = imap
-VERSION = 2007
-DISTRELEASE = f
-DISTVERSION = $(VERSION)$(DISTRELEASE)
-DISTNAME = $(NAME)-$(VERSION)$(DISTRELEASE)
+VERSION = 2007f
 GARTYPE = v2
 CATEGORIES = lib
 
@@ -49,7 +46,7 @@
 CHECKPKG_OVERRIDES_CSWlibc-client2007f += soname-equals-filename|file=/opt/csw/lib/libc-client.2007f.so
 
 PACKAGES += CSWlibc-client-dev
-SPKG_DESC_CSWlibc-client-dev = Development files for $(NAME) $(DISTVERSION)
+SPKG_DESC_CSWlibc-client-dev = Development files for $(NAME) $(VERSION)
 PKGFILES_CSWlibc-client-dev = $(PKGFILES_DEVEL_INCLUDEDIR)
 PKGFILES_CSWlibc-client-dev = $(libdir)/libc-client.so
 RUNTIME_DEP_PKGS_CSWlibc-client-dev += CSWlibc-client2007f
@@ -66,20 +63,20 @@
 include gar/category.mk
 
 build-custom:
-	@( cd $(WORKSRC) ; $(BUILD_ENV) DISTVERSION=$(DISTVERSION) make soc )
+	@( cd $(WORKSRC) ; $(BUILD_ENV) DISTVERSION=$(VERSION) make soc )
 	@$(MAKECOOKIE)
 
 install-custom:
 	ginstall -d $(DESTDIR)$(libdir)
 	ginstall -p -m644 $(WORKSRC)/c-client/c-client.a $(DESTDIR)$(libdir)
 	ginstall -p -m755 \
-		$(WORKSRC)/c-client/libc-client.$(DISTVERSION).so $(DESTDIR)$(libdir)
+		$(WORKSRC)/c-client/libc-client.$(VERSION).so $(DESTDIR)$(libdir)
 	ginstall -d $(DESTDIR)$(includedir)/imap
 	ginstall -p -m644 $(WORKSRC)/c-client/*.h $(DESTDIR)$(includedir)/imap
 	ginstall -p -m644 $(WORKSRC)/c-client/linkage.c $(DESTDIR)$(includedir)/imap
 	ginstall -p -m644 \
 		$(WORKSRC)/src/osdep/tops-20/shortsym.h $(DESTDIR)$(includedir)/imap
-	cd $(DESTDIR)$(libdir); ln -s libc-client.$(DISTVERSION).so libc-client.so
+	cd $(DESTDIR)$(libdir); ln -s libc-client.$(VERSION).so libc-client.so
 	@$(MAKECOOKIE)
 
 post-merge:

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