svn commit: r356799 - in head/sysutils/cpu: . files

Vanilla I. Shu vanilla at FreeBSD.org
Fri Jun 6 15:12:02 UTC 2014


Author: vanilla
Date: Fri Jun  6 15:12:00 2014
New Revision: 356799
URL: http://svnweb.freebsd.org/changeset/ports/356799
QAT: https://qat.redports.org/buildarchive/r356799/

Log:
  Stagify, switch to USES=libtool

Added:
  head/sysutils/cpu/files/patch-doc__Makefile.in   (contents, props changed)
Modified:
  head/sysutils/cpu/Makefile
  head/sysutils/cpu/pkg-plist

Modified: head/sysutils/cpu/Makefile
==============================================================================
--- head/sysutils/cpu/Makefile	Fri Jun  6 15:01:21 2014	(r356798)
+++ head/sysutils/cpu/Makefile	Fri Jun  6 15:12:00 2014	(r356799)
@@ -3,7 +3,7 @@
 
 PORTNAME=	cpu
 PORTVERSION=	1.4.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -11,16 +11,12 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Change Password Utility for LDAP
 
 GNU_CONFIGURE=	yes
-USE_BZIP2=	yes
+USES=		tar:bzip2 libtool
 USE_OPENLDAP=	yes
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--datadir=${PREFIX}/share/cpu --with-ldap=${LOCALBASE}
 CPPFLAGS+=	-DLDAP_DEPRECATED
 
-MAN5=		cpu.conf.5
-MAN8=		cpu.8 cpu-ldap.8
-
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
 

Added: head/sysutils/cpu/files/patch-doc__Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/cpu/files/patch-doc__Makefile.in	Fri Jun  6 15:12:00 2014	(r356799)
@@ -0,0 +1,19 @@
+--- doc/Makefile.in.orig	2014-06-06 22:53:04.849107374 +0800
++++ doc/Makefile.in	2014-06-06 22:54:12.397081995 +0800
+@@ -447,13 +447,9 @@ uninstall-info: uninstall-info-recursive
+ 
+ 
+ install-data-local:
+-	@if test -f $(sysconfdir)/cpu.conf ; then \
+-		echo "$@ will not overwrite existing $(sysconfdir)/cpu.conf"; \
+-	else \
+-		$(mkinstalldirs) $(sysconfdir); \
+-		echo "$(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf"; \
+-		$(INSTALL_DATA) cpu.conf $(sysconfdir)/cpu.conf; \
+-	fi
++	$(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
++	echo "$(INSTALL_DATA) cpu.conf $(DESTDIR)$(sysconfdir)/cpu.conf.sample"; \
++	$(INSTALL_DATA) cpu.conf $(DESTDIR)$(sysconfdir)/cpu.conf.sample;
+ 
+ uninstall-local:
+ 	@if test -f $(sysconfdir)/cpu.conf ; then \

Modified: head/sysutils/cpu/pkg-plist
==============================================================================
--- head/sysutils/cpu/pkg-plist	Fri Jun  6 15:01:21 2014	(r356798)
+++ head/sysutils/cpu/pkg-plist	Fri Jun  6 15:12:00 2014	(r356799)
@@ -1,13 +1,16 @@
-etc/cpu.conf
+ at sample etc/cpu.conf.sample
 lib/libcpu_ldap.a
-lib/libcpu_ldap.la
 lib/libcpu_ldap.so
 lib/libcpu_ldap.so.0
+lib/libcpu_ldap.so.0.0.0
 lib/libcputil.a
-lib/libcputil.la
 lib/libcputil.so
 lib/libcputil.so.0
+lib/libcputil.so.0.0.0
+man/man5/cpu.conf.5.gz
+man/man8/cpu-ldap.8.gz
+man/man8/cpu.8.gz
 sbin/cpu
 %%DATADIR%%/cpu.conf.doc
 %%DATADIR%%/test.ldif
- at dirrm %%DATADIR%%
+ at dirrmtry %%DATADIR%%


More information about the svn-ports-head mailing list