Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2001 15:24:42 +0200 (CEST)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30390: Maintainer update: misc/sh-utils (minor fix)
Message-ID:  <200109061324.f86DOg043358@gits.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         30390
>Category:       ports
>Synopsis:       Maintainer update: misc/sh-utils (minor fix)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 06:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.4-RC i386
>Organization:
ACME
>Environment:

System: FreeBSD gits 4.4-RC FreeBSD 4.4-RC #29: Sat Aug 25 14:49:20 CEST 2001 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386

>Description:
	Makefile
		MAKE_ARGS added.
		targets reworked.
>How-To-Repeat:
	n/a
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/sh-utils/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	2001/06/09 12:59:32	1.6
+++ Makefile	2001/09/06 13:21:55
@@ -13,31 +13,51 @@
 
 MAINTAINER=	clefevre@redirect.to
 
+# Global variables
+#
+
 LIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext
 
 GNU_CONFIGURE=	yes
-
 CONFIGURE_ARGS=	--program-prefix=g
 
 USE_GMAKE=	yes
-
-INSTALL_INFO?=	install-info
+# PREFIX isn't honored. force it w/ prefix.
+MAKE_ARGS=	prefix=${PREFIX}
 
 MAN1=	gbasename.1 gchroot.1 gdate.1 gdirname.1 gecho.1 genv.1 \
 	gexpr.1 gfalse.1 ggroups.1 ghostid.1 ghostname.1 gid.1 \
 	glogname.1 gnice.1 gnohup.1 gpathchk.1 gpinky.1 gprintenv.1 \
 	gprintf.1 gpwd.1 gsleep.1 gstty.1 gsu.1 gtee.1 gtest.1 \
 	gtrue.1 gtty.1 guname.1 gusers.1 gwho.1 gwhoami.1 gyes.1
+
+# Local variables
+#
+
+INSTALL_INFO?=	install-info
+
+# Post-extract
+#
+
+post-extract: remove-info-files
 
-post-extract:
+remove-info-files:
 	@${RM} -f ${WRKSRC}/doc/${PORTNAME}.info*
 
+# Patch
+#
+
 do-patch:
 .if !defined(WITH_SUID)
 	@${PERL} -pi -e "s/u\+s/u\+w/g" ${WRKSRC}/src/Makefile.in
 .endif
+
+# Post-install
+#
+
+post-install: install-info
 
-post-install:
+install-info:
 	@${INSTALL_INFO} ${PREFIX}/info/${PORTNAME}.info ${PREFIX}/info/dir
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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