Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2014 16:21:34 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352687 - head/devel/cook
Message-ID:  <201404301621.s3UGLYbO021444@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Apr 30 16:21:33 2014
New Revision: 352687
URL: http://svnweb.freebsd.org/changeset/ports/352687
QAT: https://qat.redports.org/buildarchive/r352687/

Log:
  Support stage

Modified:
  head/devel/cook/Makefile
  head/devel/cook/pkg-plist

Modified: head/devel/cook/Makefile
==============================================================================
--- head/devel/cook/Makefile	Wed Apr 30 16:09:33 2014	(r352686)
+++ head/devel/cook/Makefile	Wed Apr 30 16:21:33 2014	(r352687)
@@ -18,20 +18,17 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 MAKE_JOBS_UNSAFE=	yes
 
-MAN1=	c_incl.1 cook.1 cook_bom.1 cook_lic.1 cook_rsh.1 cookfp.1 cooktime.1 \
-	find_libs.1 make2cook.1 roffpp.1
-MANCOMPRESSED=	no
-USES=		gettext
+USES=		gettext perl5
+DESTDIRNAME=	RPM_BUILD_ROOT
 
 # Make sure that the whole directory tree exists.
-NO_STAGE=	yes
 pre-install:
-	${MKDIR} ${PREFIX}/share/cook/en/man1
-	${MKDIR} ${PREFIX}/lib/cook/en/LC_MESSAGES
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/cook/en/man1
+	${MKDIR} ${STAGEDIR}${PREFIX}/lib/cook/en/LC_MESSAGES
 
 # cook installs extra copies of the manpages in a directory that MANLANG can't
 # cope with.  Delete the extra copies.
 post-install:
-	@${RM} -rf ${PREFIX}/share/cook/en/man1
+	@${RM} -rf ${STAGEDIR}${PREFIX}/share/cook/en/man1
 
 .include <bsd.port.mk>

Modified: head/devel/cook/pkg-plist
==============================================================================
--- head/devel/cook/pkg-plist	Wed Apr 30 16:09:33 2014	(r352686)
+++ head/devel/cook/pkg-plist	Wed Apr 30 16:21:33 2014	(r352687)
@@ -16,6 +16,16 @@ lib/cook/en/LC_MESSAGES/file_check.mo
 lib/cook/en/LC_MESSAGES/find_libs.mo
 lib/cook/en/LC_MESSAGES/make2cook.mo
 lib/cook/en/LC_MESSAGES/roffpp.mo
+man/man1/c_incl.1.gz
+man/man1/cook.1.gz
+man/man1/cook_bom.1.gz
+man/man1/cook_lic.1.gz
+man/man1/cook_rsh.1.gz
+man/man1/cookfp.1.gz
+man/man1/cooktime.1.gz
+man/man1/find_libs.1.gz
+man/man1/make2cook.1.gz
+man/man1/roffpp.1.gz
 share/cook/as
 share/cook/bison
 share/cook/c



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