Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2008 02:47:37 +0900 (JST)
From:      Tomoyuki Sakurai <cherry@trombik.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dan@langille.org
Subject:   ports/124036: [PATCH] sysutils/bacula-bat: gzip man1/bat
Message-ID:  <20080527174737.215DA175C39@spica.trombik.org>
Resent-Message-ID: <200805271750.m4RHo1Lc037520@freefall.freebsd.org>

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

>Number:         124036
>Category:       ports
>Synopsis:       [PATCH] sysutils/bacula-bat: gzip man1/bat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 27 17:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Tomoyuki Sakurai
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD spica.trombik.org 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun May 11 18:07:51 JST 2008
>Description:
- gzip bat(1)
- do not use ${PREFIX}, which had a typo, in configure
  (generally, it becomes a problem when $PREFIX is NOT $LOCALBASE)
- remove a space

Port maintainer (dan@langille.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- bacula-bat-2.2.8_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/bacula-bat/Makefile /usr/home/cherry/svk/ports/sysutils/bacula-bat/Makefile
--- /usr/ports/sysutils/bacula-bat/Makefile	2008-04-02 18:09:57.000000000 +0900
+++ /usr/home/cherry/svk/ports/sysutils/bacula-bat/Makefile	2008-05-28 02:39:55.000000000 +0900
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	bacula
-PKGNAMESUFFIX=  -bat
+PKGNAMESUFFIX=	-bat
 
 COMMENT=	The network backup solution (GUI)
 
@@ -28,7 +28,7 @@
 PLIST=		${.CURDIR}/pkg-plist
 
 CONFIGURE_ARGS+=--enable-bat \
-		--with-qwt={$PREFIX}/lib \
+		--with-qwt=${LOCALBASE}/lib \
 		--disable-build-dird \
 		--disable-build-stored \
 		--enable-client-only
@@ -43,6 +43,7 @@
 	# Install config files and preserve existing ones
 	${INSTALL_PROGRAM} ${WRKSRC}/src/qt-console/bat      ${PREFIX}/sbin
 	${INSTALL_SCRIPT}  ${WRKSRC}/src/qt-console/bat.conf ${PREFIX}/etc/bat.conf.sample
-	${INSTALL_MAN}     ${WRKSRC}/manpages/bat.1          ${PREFIX}/man/man1/bat.1.gz
+	${GZIP_CMD} ${WRKSRC}/manpages/bat.1
+	${INSTALL_MAN}     ${WRKSRC}/manpages/bat.1.gz          ${PREFIX}/man/man1/
 
 .include "${MASTERDIR}/Makefile"
--- bacula-bat-2.2.8_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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