Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2001 13:07:04 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/25322: Update port: graphics/dc3play
Message-ID:  <200102232107.f1NL74B67080@freefall.freebsd.org>

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

>Number:         25322
>Category:       ports
>Synopsis:       Update port: graphics/dc3play
>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:   Fri Feb 23 13:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CFLAGS properly
- HAS_CONFIGURE -> GNU_CONFIGURE
- Support NOPORTDOCS

Remove file:
pkg-message

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/dc3play/Makefile graphics/dc3play/Makefile
--- /usr/ports/graphics/dc3play/Makefile	Tue Jan  9 21:56:31 2001
+++ graphics/dc3play/Makefile	Sat Feb 24 05:01:35 2001
@@ -7,25 +7,29 @@
 
 PORTNAME=	dc3play
 PORTVERSION=	19991202
+PORTREVISION=	1
 CATEGORIES=	graphics
-MASTER_SITES=   ftp://ftp.itojun.org/pub/digi-cam/DC-3/unix/ \
+MASTER_SITES=	ftp://ftp.itojun.org/pub/digi-cam/DC-3/unix/ \
 		ftp://ftp.digipri.co.jp/pub/free-software/Ricoh/DC-3/unix/
 
-MAINTAINER=	ports@freebsd.org
-
-WRKSRC=		${WRKDIR}/dc3play/build
-HAS_CONFIGURE=	yes
+MAINTAINER=	ports@FreeBSD.org
 
 RESTRICTED=	"Beta test period, redistribution prohibited"
 
-DOC=	README.english README.japanese PROTOCOL
+WRKSRC=		${WRKDIR}/${PORTNAME}/build
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	OPTFLAG=""
+
+post-patch:
+	@${PERL} -pi -e "s|<sys/dir.h>|<dirent.h>|g" ${WRKSRC}/../src/*.c
 
 post-install:
-	${MKDIR} ${PREFIX}/share/doc/dc3play
-	for i in ${DOC}; do \
-		${INSTALL_DATA} ${WRKSRC}/../$$i \
-			${PREFIX}/share/doc/dc3play; \
-	done
-	${SED} -e 's@\/usr\/local@${PREFIX}@' < ${PKGMESSAGE}
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${PREFIX}/share/doc/dc3play
+.for file in PROTOCOL README.english README.japanese 
+	${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/doc/dc3play
+.endfor
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/dc3play/pkg-message graphics/dc3play/pkg-message
--- /usr/ports/graphics/dc3play/pkg-message	Tue Jul 15 23:57:39 1997
+++ graphics/dc3play/pkg-message	Thu Jan  1 09:00:00 1970
@@ -1,2 +0,0 @@
-dc3play has been installed.
-Documents can be found at: /usr/local/share/doc/dc3play
diff -urN /usr/ports/graphics/dc3play/pkg-plist graphics/dc3play/pkg-plist
--- /usr/ports/graphics/dc3play/pkg-plist	Tue Jul 15 23:57:39 1997
+++ graphics/dc3play/pkg-plist	Fri Feb 23 06:00:55 2001
@@ -1,5 +1,5 @@
 bin/dc3play
-share/doc/dc3play/README.english
-share/doc/dc3play/README.japanese
-share/doc/dc3play/PROTOCOL
-@dirrm share/doc/dc3play
+%%PORTDOCS%%share/doc/dc3play/PROTOCOL
+%%PORTDOCS%%share/doc/dc3play/README.english
+%%PORTDOCS%%share/doc/dc3play/README.japanese
+%%PORTDOCS%%@dirrm share/doc/dc3play

>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?200102232107.f1NL74B67080>