Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2014 11:26:21 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355010 - in head/devel/serdisplib: . files
Message-ID:  <201405241126.s4OBQLIl042017@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sat May 24 11:26:20 2014
New Revision: 355010
URL: http://svnweb.freebsd.org/changeset/ports/355010
QAT: https://qat.redports.org/buildarchive/r355010/

Log:
  Stageify.
  
  Approved by:	portmgr@

Added:
  head/devel/serdisplib/files/
  head/devel/serdisplib/files/patch-src__Makefile.in   (contents, props changed)
  head/devel/serdisplib/files/patch-tools__Makefile.in   (contents, props changed)
Modified:
  head/devel/serdisplib/Makefile
  head/devel/serdisplib/pkg-plist

Modified: head/devel/serdisplib/Makefile
==============================================================================
--- head/devel/serdisplib/Makefile	Sat May 24 11:13:09 2014	(r355009)
+++ head/devel/serdisplib/Makefile	Sat May 24 11:26:20 2014	(r355010)
@@ -12,8 +12,7 @@ COMMENT=	Library to drive graphical LC- 
 LICENSE=	GPLv2
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 USE_LDCONFIG=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Added: head/devel/serdisplib/files/patch-src__Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/serdisplib/files/patch-src__Makefile.in	Sat May 24 11:26:20 2014	(r355010)
@@ -0,0 +1,37 @@
+--- src/Makefile.in.orig	2014-05-24 19:19:02.324979295 +0800
++++ src/Makefile.in	2014-05-24 19:19:51.359974924 +0800
+@@ -168,23 +168,23 @@ distclean: clean
+ 	/bin/rm -f Makefile
+ 
+ install: $(LIB_DIR)/$(LIB_SHARED) $(LIB_DIR)/$(LIB_STATIC)
+-	$(top_srcdir)/mkinstalldirs $(bindir)
+-	$(top_srcdir)/mkinstalldirs $(libdir)
+-	$(top_srcdir)/mkinstalldirs $(includedir)
+-	$(top_srcdir)/mkinstalldirs $(includedir)/serdisplib
++	$(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
++	$(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
++	$(top_srcdir)/mkinstalldirs $(DESTDIR)$(includedir)
++	$(top_srcdir)/mkinstalldirs $(DESTDIR)$(includedir)/serdisplib
+ 	
+-	$(INSTALL_PROGRAM) $(PROGRAMS) $(bindir)/
+-	$(INSTALL_PROGRAM) $(LIB_DIR)/$(LIB_SHARED) $(libdir)/
+-	$(INSTALL_DATA) $(LIB_DIR)/$(LIB_STATIC) $(libdir)/
++	$(INSTALL_PROGRAM) $(PROGRAMS) $(DESTDIR)$(bindir)/
++	$(INSTALL_PROGRAM) $(LIB_DIR)/$(LIB_SHARED) $(DESTDIR)$(libdir)/
++	$(INSTALL_DATA) $(LIB_DIR)/$(LIB_STATIC) $(DESTDIR)$(libdir)/
+ 	list='$(LIB_HEADERFILES)'; \
+ 	for headerfile in $$list; do \
+-	  $(INSTALL_DATA) ../include/serdisplib/$$headerfile $(includedir)/serdisplib/ ; \
++	  $(INSTALL_DATA) ../include/serdisplib/$$headerfile $(DESTDIR)$(includedir)/serdisplib/ ; \
+ 	done
+ 	if [ -n "$(VERSION_SUBMINOR)" ]  ; then \
+-	  cd $(libdir) && $(LN_S) -f $(LIB_SHARED) lib$(LIB_NAME).so.$(VERSION_MAJOR).$(VERSION_MINOR) ; \
++	  cd $(DESTDIR)$(libdir) && $(LN_S) -f $(LIB_SHARED) lib$(LIB_NAME).so.$(VERSION_MAJOR).$(VERSION_MINOR) ; \
+ 	fi
+-	cd $(libdir) && $(LN_S) -f $(LIB_SHARED) lib$(LIB_NAME).so.$(VERSION_MAJOR)
+-	cd $(libdir) && $(LN_S) -f lib$(LIB_NAME).so.$(VERSION_MAJOR) lib$(LIB_NAME).so
++	cd $(DESTDIR)$(libdir) && $(LN_S) -f $(LIB_SHARED) lib$(LIB_NAME).so.$(VERSION_MAJOR)
++	cd $(DESTDIR)$(libdir) && $(LN_S) -f lib$(LIB_NAME).so.$(VERSION_MAJOR) lib$(LIB_NAME).so
+ 
+ uninstall:
+ 	-/bin/rm -f $(libdir)/libserdisp*

Added: head/devel/serdisplib/files/patch-tools__Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/serdisplib/files/patch-tools__Makefile.in	Sat May 24 11:26:20 2014	(r355010)
@@ -0,0 +1,11 @@
+--- tools/Makefile.in.orig	2014-05-24 19:23:17.169958767 +0800
++++ tools/Makefile.in	2014-05-24 19:23:28.096959808 +0800
+@@ -111,7 +111,7 @@ distclean: clean
+ install: $(PROGRAMS)
+ 	list='$(PROGRAMS)'; \
+ 	for prog in $$list; do \
+-	  $(INSTALL_PROGRAM) $$prog $(bindir)/ ; \
++	  $(INSTALL_PROGRAM) $$prog $(DESTDIR)$(bindir)/ ; \
+ 	done
+ 
+ uninstall: $(PROGRAMS)

Modified: head/devel/serdisplib/pkg-plist
==============================================================================
--- head/devel/serdisplib/pkg-plist	Sat May 24 11:13:09 2014	(r355009)
+++ head/devel/serdisplib/pkg-plist	Sat May 24 11:26:20 2014	(r355010)
@@ -1,15 +1,15 @@
-bin/testserdisp
 bin/l4m132c_tool
+bin/testserdisp
 include/serdisplib/serdisp.h
-include/serdisplib/serdisp_control.h
+include/serdisplib/serdisp_colour.h
 include/serdisplib/serdisp_connect.h
+include/serdisplib/serdisp_control.h
 include/serdisplib/serdisp_messages.h
-include/serdisplib/serdisp_colour.h
-include/serdisplib/serdisp_tools.h
 include/serdisplib/serdisp_parport.h
-lib/libserdisp.so.1.97.9
+include/serdisplib/serdisp_tools.h
 lib/libserdisp.a
-lib/libserdisp.so.1.97
-lib/libserdisp.so.1
 lib/libserdisp.so
+lib/libserdisp.so.1
+lib/libserdisp.so.1.97
+lib/libserdisp.so.1.97.9
 @dirrmtry include/serdisplib



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405241126.s4OBQLIl042017>