Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 09:58:20 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/42900: Update port: print/catdvi
Message-ID:  <200209171658.g8HGwKw7021867@www.freebsd.org>

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

>Number:         42900
>Category:       ports
>Synopsis:       Update port: print/catdvi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 17 10:30:20 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CFLAGS/CXXFLAGS properly
- Support install macros

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/print/catdvi/Makefile print/catdvi/Makefile
--- /usr/ports/print/catdvi/Makefile	Wed May 22 13:10:36 2002
+++ print/catdvi/Makefile	Sun Sep 15 08:36:33 2002
@@ -8,6 +8,7 @@
 
 PORTNAME=	catdvi
 PORTVERSION=	0.13
+PORTREVISION=	1
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,18 +16,19 @@
 MAINTAINER=	ports@FreeBSD.org
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX
-LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
 
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
 MAKEFILE=	GNUmakefile
-USE_GMAKE=	yes
 ALL_TARGET=	# empty
 
 MAN1=	catdvi.1
 
-post-install:
-	@${STRIP_CMD} ${PREFIX}/bin/catdvi
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/catdvi ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/catdvi.1 ${MANPREFIX}/man/man1
 
 .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?200209171658.g8HGwKw7021867>