Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 1999 17:52:17 -0700
From:      Chris Piazza <cpiazza@home.net>
To:        Steve Price <steve@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, jdp@FreeBSD.org
Subject:   Re: cvs commit: ports/net/cvsup-bin Makefile
Message-ID:  <19990705175217.A7026@norn.ca.eu.org>
In-Reply-To: <199907042050.NAA32795@freefall.freebsd.org>; from Steve Price on Sun, Jul 04, 1999 at 01:50:35PM -0700
References:  <199907042050.NAA32795@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 04, 1999 at 01:50:35PM -0700, Steve Price wrote:

[CC: to jdp, the maintainer]

> steve       1999/07/04 13:50:34 PDT
> 
>   Modified files:
>     net/cvsup-bin        Makefile 
>   Log:
>   Installs i386 binaries, so mark this for i386 only.

What about this patch: (similar could be applied to cvsupd-bin etc)

Index: cvsup-bin/Makefile
===================================================================
RCS file: /home/ncvs/ports/net/cvsup-bin/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	1999/07/04 20:50:33	1.11
+++ Makefile	1999/07/05 00:50:45
@@ -9,23 +9,28 @@
 DISTNAME=	cvsup-bin-16.0
 CATEGORIES=	devel net
 MASTER_SITES=	ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/
-DISTFILES=	cvsup-bin-16.0.tar.gz
 
 MAINTAINER=	jdp@freebsd.org
 
-ONLY_FOR_ARCHS=	i386
+.include <bsd.port.pre.mk>
 
+.if (${ARCH} == "alpha")
+MASTER_SITES=	ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/binaries/
+DISTFILES=	cvsup.nogui-freebsd-alpha-16.0${EXTRACT_SUFX}
+WRKSRC=		${WRKDIR}/cvsup.nogui-bin-16.0
+.endif
+
 NO_BUILD=	yes
 
 MAN1=	cvpasswd.1 cvsup.1
+MANCOMPRESSED=	yes
 STRIP=
 
-do-configure:
-	cd ${WRKSRC}; gunzip ${MAN1:S/$/.gz/}
-
 do-install:
 	cd ${WRKSRC}; \
-	    ${INSTALL_PROGRAM} cvpasswd cvsup ${PREFIX}/bin; \
-	    ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
+	    ${INSTALL_PROGRAM} cvpasswd cvsup ${PREFIX}/bin;
+.for file in ${MAN1}
+	${INSTALL_MAN} ${WRKSRC}/${file}.gz ${PREFIX}/man/man1
+.endfor
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: cvsup-bin/files/md5
===================================================================
RCS file: /home/ncvs/ports/net/cvsup-bin/files/md5,v
retrieving revision 1.6
diff -u -r1.6 md5
--- md5	1999/02/10 02:47:59	1.6
+++ md5	1999/07/05 00:50:46
@@ -1 +1,2 @@
 MD5 (cvsup-bin-16.0.tar.gz) = 57c25981d3c1d82a79b9ae18aaea715b
+MD5 (cvsup.nogui-freebsd-alpha-16.0.tar.gz) = cd5920ec3034621c869e11618632b76a

Note that the only testing I did with this was a make package with 
ARCH=alpha set.

-Chris

-- 
cpiazza@home.net                   cpiazza@FreeBSD.org
"Optimist, n.  A proponent of the doctrine that black
 is white."                            -Ambrose Bierce


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




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