From 521370ce3635a5e5ae2b2dfbfa1e79e9b76ce955 Mon Sep 17 00:00:00 2001 From: SADA Kenji Date: Mon, 26 Jul 1999 18:17:00 +0000 Subject: Move category from net to devel. Cope with package-build time problem. Requested by: hoek --- devel/cvsweb/Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'devel/cvsweb') diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile index 219912bc8427..4ea74948f53e 100644 --- a/devel/cvsweb/Makefile +++ b/devel/cvsweb/Makefile @@ -3,11 +3,11 @@ # Date created: 27 Jun 1999 # Whom: SADA Kenji # -# $Id: Makefile,v 1.1.1.1 1999/06/28 17:26:34 sada Exp $ +# $Id: Makefile,v 1.1.1.1 1999/07/26 18:06:44 sada Exp $ # DISTNAME= cvsweb-1.0 -CATEGORIES= net www +CATEGORIES= devel www MASTER_SITES= http://www.freebsd.org/~fenner/cvsweb/ MAINTAINER= sada@FreeBSD.ORG @@ -28,11 +28,10 @@ do-configure: ${WRKSRC}/cvsweb > ${WRKDIR}/cvsweb do-install: - @if PKG_PREFIX=${PREFIX} ${SH} ${PKGREQ} ${PKGNAME} INSTALL; then \ - ${MKDIR} ${PREFIX}/www/cgi-bin; \ - ${INSTALL_SCRIPT} ${WRKDIR}/cvsweb ${PREFIX}/www/cgi-bin/; \ - else \ - exit 1; \ - fi +.if !defined(PACKAGE_BUILDING) + @if PKG_PREFIX=${PREFIX} ${SH} ${PKGREQ} ${PKGNAME} INSTALL +.endif + @${MKDIR} ${PREFIX}/www/cgi-bin + @${INSTALL_SCRIPT} ${WRKDIR}/cvsweb ${PREFIX}/www/cgi-bin/ .include -- cgit v1.2.3