Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2013 11:24:01 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r327977 - head/ports-mgmt/portupgrade
Message-ID:  <201309231124.r8NBO1AH044599@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Mon Sep 23 11:24:00 2013
New Revision: 327977
URL: http://svnweb.freebsd.org/changeset/ports/327977

Log:
  - Support STAGEDIR

Modified:
  head/ports-mgmt/portupgrade/Makefile
  head/ports-mgmt/portupgrade/pkg-plist

Modified: head/ports-mgmt/portupgrade/Makefile
==============================================================================
--- head/ports-mgmt/portupgrade/Makefile	Mon Sep 23 11:23:55 2013	(r327976)
+++ head/ports-mgmt/portupgrade/Makefile	Mon Sep 23 11:24:00 2013	(r327977)
@@ -19,32 +19,14 @@ OPTIONS_DEFINE=	DOCS
 
 CONFLICTS_INSTALL=	portupgrade-devel-*
 
-NO_STAGE=	yes
 DIST_SUBDIR=	${PORTNAME}
 USE_BZIP2=	yes
 USE_RUBY=	yes
 
 USE_LDCONFIG=	${PREFIX}/lib/compat/pkg
 
-MAKE_ARGS=	PREFIX="${PREFIX}" RUBY="${RUBY}" RUBY_SITELIBDIR="${RUBY_SITELIBDIR}" MKDIR="${MKDIR}"
-
-MAN1=		pkg_deinstall.1 \
-		pkg_fetch.1 \
-		pkg_glob.1 \
-		pkg_sort.1 \
-		pkgdb.1 \
-		pkgdu.1 \
-		portcvsweb.1 \
-		portsclean.1 \
-		portsdb.1 \
-		portupgrade.1 \
-		portversion.1
-MAN5=		pkgtools.conf.5
-MLINKS=		pkgdb.1 pkg_which.1 \
-		portupgrade.1 portinstall.1 \
-		portcvsweb.1 portsvnweb.1 \
-		portsdb.1 ports_glob.1
-MANCOMPRESSED=	maybe
+MAKE_ARGS=	PREFIX="${PREFIX}" RUBY="${RUBY}" \
+		RUBY_SITELIBDIR="${RUBY_SITELIBDIR}" MKDIR="${MKDIR}"
 
 EXAMPLESDIR=	${PREFIX}/share/examples/pkgtools
 DOCSDIR=	${PREFIX}/share/doc/pkgtools
@@ -71,10 +53,6 @@ PLIST_SUB+=	SCRIPT="@comment "
 .endif
 
 post-install:
-	if [ ! -f ${PREFIX}/etc/pkgtools.conf ]; then \
-		${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \
-	fi
-	${MKDIR} ${PREFIX}/lib/compat/pkg
-	${CAT} ${PKGMESSAGE}
+	${MKDIR} ${STAGEDIR}${PREFIX}/lib/compat/pkg
 
 .include <bsd.port.post.mk>

Modified: head/ports-mgmt/portupgrade/pkg-plist
==============================================================================
--- head/ports-mgmt/portupgrade/pkg-plist	Mon Sep 23 11:23:55 2013	(r327976)
+++ head/ports-mgmt/portupgrade/pkg-plist	Mon Sep 23 11:24:00 2013	(r327977)
@@ -1,6 +1,22 @@
 @exec /bin/mkdir -p %D/lib/compat/pkg
 @dirrmtry lib/compat/pkg
 @dirrmtry lib/compat
+man/man1/pkg_deinstall.1.gz
+man/man1/pkg_fetch.1.gz
+man/man1/pkg_glob.1.gz
+man/man1/pkg_sort.1.gz
+man/man1/pkg_which.1.gz
+man/man1/pkgdb.1.gz
+man/man1/pkgdu.1.gz
+man/man1/portcvsweb.1.gz
+man/man1/portinstall.1.gz
+man/man1/ports_glob.1.gz
+man/man1/portsclean.1.gz
+man/man1/portsdb.1.gz
+man/man1/portsvnweb.1.gz
+man/man1/portupgrade.1.gz
+man/man1/portversion.1.gz
+man/man5/pkgtools.conf.5.gz
 sbin/pkg_deinstall
 sbin/pkg_fetch
 sbin/pkg_glob



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